fix(live tests): replace deprecated event_loop fixture with loop_scope="module" on async fixtures

This commit is contained in:
2026-05-10 22:29:57 -04:00
parent 0403cfc6a2
commit ab18cd7797
3 changed files with 7 additions and 21 deletions

View File

@@ -74,7 +74,7 @@ def _url_with_db(server_url: str, db_name: str) -> str:
return urlunparse(parsed._replace(path=f"/{db_name}"))
@pytest.fixture(scope="module")
@pytest.fixture(scope="module", loop_scope="module")
async def mysql_test_db_url():
"""Create a per-worker throwaway database, yield its URL, drop it on teardown.