fix: separate demo seed from catalog facts

This commit is contained in:
ik
2026-09-22 20:05:09 +07:00
parent a357988f93
commit a8321536cc
5 changed files with 11 additions and 5 deletions
+1
View File
@@ -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)))