File size: 861 Bytes
b4f2238 | 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 | [pytest]
django_find_project = false
DJANGO_SETTINGS_MODULE = apiSystem.settings
python_files = tests.py test_*.py *_tests.py
python_classes = Test* *Test
python_functions = test_*
addopts =
--reuse-db
--import-mode=importlib
-v
--tb=short
--strict-markers
# 覆盖率门禁仅在 CI workflow 中配置,默认入口指向可追踪的 CI 测试树。
testpaths = tests/ci
pythonpath = apiSystem .
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
anyio: marks tests as anyio async tests
asyncio: marks tests as asyncio tests
property: marks tests as property-based tests
property_test: marks tests as property-based tests (alias)
|