mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-19 17:56:43 +00:00
Fix tests
This commit is contained in:
parent
e3f3ea87eb
commit
a1156599ce
@ -7,9 +7,11 @@ from hexlib.db import PersistentState
|
|||||||
class TestPersistentState(TestCase):
|
class TestPersistentState(TestCase):
|
||||||
|
|
||||||
def tearDown(self) -> None:
|
def tearDown(self) -> None:
|
||||||
|
if os.path.exists("state.db"):
|
||||||
os.remove("state.db")
|
os.remove("state.db")
|
||||||
|
|
||||||
def setUp(self) -> None:
|
def setUp(self) -> None:
|
||||||
|
if os.path.exists("state.db"):
|
||||||
os.remove("state.db")
|
os.remove("state.db")
|
||||||
|
|
||||||
def test_get_set(self):
|
def test_get_set(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user