File size: 882 Bytes
4c75d73 |
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 27 28 29 30 31 |
[tool:pytest]
markers =
stress: marks tests as stress tests (deselect with '-m "not stress"')
error_handling: marks tests as error handling tests
integration: marks tests as integration tests
browser: marks tests as browser tests (may require selenium)
slow: marks tests as slow running
e2e: marks tests as end-to-end tests
timeout: marks tests that need timeout protection
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Default timeout for tests
timeout = 60
# Ignore deprecation warnings from external libraries
filterwarnings =
ignore::DeprecationWarning:websockets.*
ignore::pytest.PytestCollectionWarning
ignore::pytest.PytestUnknownMarkWarning
# Set asyncio default loop scope
addopts =
--timeout=60
--timeout-method=thread
-v
--tb=short
|