- Add --timeout=60 to pytest.ini to catch hanging tests - Add --strict-markers to enforce declared markers only - Install pytest-timeout>=2.0.0 dependency - All 627 tests pass within 60s timeout
5 lines
207 B
INI
5 lines
207 B
INI
[pytest]
|
|
addopts = -m "not live and not docker" --timeout=60 --strict-markers
|
|
markers =
|
|
live: tests requiring server access (run with '-m live')
|
|
docker: tests requiring Docker (run with '-m docker')
|