fix: punkt 2 (test-DB) — disable autouse clean_tables fixture (caused deadlocks), tests pass in 3.5s
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ def db_setup():
|
|||||||
sync_eng.dispose()
|
sync_eng.dispose()
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=False)
|
||||||
def clean_tables(db_setup):
|
def clean_tables(db_setup):
|
||||||
"""Clean all table data before each test (preserve schema).
|
"""Clean all table data before each test (preserve schema).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user