Skip to content

Commit 22090b7

Browse files
committed
Update pytest-asyncio
1 parent 733a557 commit 22090b7

4 files changed

Lines changed: 7 additions & 17 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ seed = [
119119
test =[
120120
"pytest~=8.4.1",
121121
"httpx~=0.28.1",
122-
"pytest-asyncio~=0.21.0",
122+
"pytest-asyncio~=1.1.0",
123123
"pytest-randomly~=4.0.0",
124124
"pytest-deadfixtures~=2.2.1",
125125
"pytest-rerunfailures~=16.0.1",
@@ -166,6 +166,8 @@ markers = [
166166
"db: tests for db structure and migrations",
167167
"lineage: tests for lineage endpoints (require running database)"
168168
]
169+
asyncio_default_fixture_loop_scope = "session"
170+
asyncio_default_test_loop_scope = "session"
169171

170172
[tool.coverage.paths]
171173
source = ["data_rentgen"]

tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
pytest_plugins = [
2-
"tests.fixtures.event_loop",
32
"tests.fixtures.db_settings",
43
"tests.fixtures.async_engine",
54
"tests.fixtures.async_session",

tests/fixtures/event_loop.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)