Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 3, 19:30 UTC
test(t3): use connection lifecycle compatible with migration transaction
davoodmehraban89 committed
Oct 23, 2026 at 02:21 UTC
e201ae84f181fad14de1421f30c8c793012ee09c
1 file changed
+1
-1
backend/tests/test_migration_schema.py
+1
-1
@@ -23,7 +23,7 @@ def test_explicit_migration_schema_matches_metadata():
23
spec.loader.exec_module(module)
24
25
engine = create_engine("sqlite:///:memory:")
26
- with engine.begin() as connection:
26
+ with engine.connect() as connection:
27
context = MigrationContext.configure(connection)
28
operations = Operations(context)
29
original = module.op