Skip to content

Commit ed80465

Browse files
committed
basic backup added
fixed broken system tests
1 parent d86ca83 commit ed80465

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/system_tests/test_unipuck_scan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
# Clear store before creating a new one
1919
store_dir = OPTIONS.store_directory
20-
if os.path.isdir(store_dir):
21-
shutil.rmtree(store_dir)
20+
if os.path.isdir(store_dir.value()):
21+
shutil.rmtree(store_dir.value())
2222

2323
STORE = StoreManager(store_dir, OPTIONS.store_capacity, OPTIONS.backup_time).create_store()
2424

tests/system_tests/test_unipuck_scan_locator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
# Clear store before creating a new one
2626
store_dir = OPTIONS.store_directory
27-
if os.path.isdir(store_dir):
28-
shutil.rmtree(store_dir)
27+
if os.path.isdir(store_dir.value()):
28+
shutil.rmtree(store_dir.value())
2929

3030
STORE = StoreManager(store_dir, OPTIONS.store_capacity, OPTIONS.backup_time).create_store()
3131

0 commit comments

Comments
 (0)