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