fix: separate demo seed from catalog facts
This commit is contained in:
@@ -25,3 +25,4 @@ def test_seed_repairs_partial_database_and_is_idempotent(monkeypatch) -> None:
|
||||
assert db.scalar(select(func.count()).select_from(Waterbody)) == 2
|
||||
assert db.scalar(select(func.count()).select_from(Spot)) == 2
|
||||
assert db.scalar(select(func.count()).select_from(CatchReport)) == 0
|
||||
assert all(spot.description is None for spot in db.scalars(select(Spot)))
|
||||
|
||||
Reference in New Issue
Block a user