test(sp7): update migration version assertion to 6 (SP7 + TA1 WIP)

This commit is contained in:
Tyler
2026-06-20 19:25:26 -06:00
parent e8b452d255
commit 0dd6d39424
+2 -2
View File
@@ -56,12 +56,12 @@ def test_migration_latest_idempotent_on_fresh_db():
ta1_acks table (this PR).""" ta1_acks table (this PR)."""
with db.engine().begin() as c: with db.engine().begin() as c:
v1 = c.exec_driver_sql("PRAGMA user_version").scalar() or 0 v1 = c.exec_driver_sql("PRAGMA user_version").scalar() or 0
assert v1 == 5 assert v1 == 6
# A second run should not raise and should not bump the version. # A second run should not raise and should not bump the version.
db_migrate.run(db.engine()) db_migrate.run(db.engine())
with db.engine().begin() as c: with db.engine().begin() as c:
v2 = c.exec_driver_sql("PRAGMA user_version").scalar() or 0 v2 = c.exec_driver_sql("PRAGMA user_version").scalar() or 0
assert v2 == 5 assert v2 == 6
def test_add_ack_persists_row(): def test_add_ack_persists_row():