add test module
This commit is contained in:
7
sentence_api/tests/test_store.py
Normal file
7
sentence_api/tests/test_store.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from sentence_api.store import BoundaryStore
|
||||
|
||||
|
||||
def test_missing_legacy_index_starts_empty(tmp_path):
|
||||
store = BoundaryStore(tmp_path / "not-created-yet.json")
|
||||
|
||||
assert store.count() == 0
|
||||
Reference in New Issue
Block a user