-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
26 lines (22 loc) · 752 Bytes
/
Copy pathpytest.ini
File metadata and controls
26 lines (22 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[pytest]
testpaths = tests
pythonpath = .
asyncio_mode = auto
# Markers — usage: pytest -m unit | pytest -m integration | pytest -m "not slow"
markers =
unit: tests unitaires (pas de DB, pas de réseau)
integration: tests d'intégration (Postgres via testcontainers — nécessitent Docker)
slow: tests >1s
# Ne pas collecter les scripts test_*.sh ni les artefacts
norecursedirs = .venv .git .claude alembic alembic.bak.* storage uploads data __pycache__
filterwarnings =
# SQLAlchemy 2.0 deprecation noise dans les libs externes
ignore::DeprecationWarning:passlib.*
ignore::DeprecationWarning:jose.*
ignore::PendingDeprecationWarning
# Output
addopts =
-ra
--strict-markers
--strict-config
--tb=short