test(sp7): update migration version assertion to 6 (SP7 + TA1 WIP)
This commit is contained in:
@@ -56,12 +56,12 @@ def test_migration_latest_idempotent_on_fresh_db():
|
||||
ta1_acks table (this PR)."""
|
||||
with db.engine().begin() as c:
|
||||
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.
|
||||
db_migrate.run(db.engine())
|
||||
with db.engine().begin() as c:
|
||||
v2 = c.exec_driver_sql("PRAGMA user_version").scalar() or 0
|
||||
assert v2 == 5
|
||||
assert v2 == 6
|
||||
|
||||
|
||||
def test_add_ack_persists_row():
|
||||
|
||||
Reference in New Issue
Block a user