change adoption to separate step
pytest / test (push) Failing after 46s
pytest / test (pull_request) Failing after 45s

This commit is contained in:
2026-04-22 13:28:00 +02:00
parent 35aee79d93
commit a76d6bfb71
12 changed files with 363 additions and 25 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ def test_location_db_adoption_fails_closed_on_alembic_revision_mismatch(
conn.commit()
conn.close()
with pytest.raises(LocationDatabaseAdoptionError, match="revision does not match"):
with pytest.raises(LocationDatabaseAdoptionError, match="known migration revision"):
adopt_or_initialize_location_db(f"sqlite:///{database_path}")