[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)