test_schema.py 354 B

1234567891011121314151617
  1. from hermes_mcp.store import init_db, table_counts
  2. def test_schema_tables_exist():
  3. init_db()
  4. counts = table_counts()
  5. assert set(counts) == {
  6. "concerns",
  7. "cycles",
  8. "observations",
  9. "states",
  10. "narratives",
  11. "decisions",
  12. "actions",
  13. "coverage_gaps",
  14. "regime_samples",
  15. }