Skip to content

Commit 921cc54

Browse files
committed
test_inmemory: minor cleanup #44
1 parent 5045d41 commit 921cc54

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

tests/test_inmemory.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66

77

88
def test_inmemory():
9-
# Expect path for persistent store
10-
db_name = "testdata_persistent"
11-
if os.path.exists(db_name):
12-
shutil.rmtree(db_name)
13-
ob = load_empty_test_default_store(db_name)
9+
# Use default path for persistent store
10+
db_name = "testdata"
11+
ob = load_empty_test_default_store()
1412
box = objectbox.Box(ob, TestEntity)
1513
object = TestEntity()
1614
id = box.put(object)

0 commit comments

Comments
 (0)