Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/backend/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[tool.pytest.ini_options]
asyncio_mode = "auto"
# Pin the async-fixture event-loop scope explicitly. pytest-asyncio 1.x makes
# this configurable and warns when it is unset; "function" preserves the
# per-test loop behaviour the suite ran under with pytest-asyncio 0.24 (the
# root `_isolate_engine_per_test` autouse fixture is function-scoped), so the
# 8->9 upgrade is behaviour-preserving.
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
pythonpath = ["."]
markers = [
Expand Down
6 changes: 3 additions & 3 deletions apps/backend/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements.txt
pytest==8.3.4
pytest-asyncio==0.24.0
pytest-cov==6.0.0
pytest==9.0.3
pytest-asyncio==1.4.0
pytest-cov==7.1.0
ruff==0.8.4
mypy==1.13.0
# Phase 2 PR #8: in-memory Redis double for CircuitBreaker unit tests.
Expand Down
Loading