11 lines
266 B
Python
11 lines
266 B
Python
from storage.task_metadata import TaskMetadataStore
|
|
|
|
|
|
def test_store_recovers_from_preexisting_empty_database(tmp_path) -> None:
|
|
path = tmp_path / "task_progress.sqlite3"
|
|
path.touch()
|
|
|
|
store = TaskMetadataStore(path)
|
|
|
|
assert store.list_tasks() == []
|