Files
plane/apps/api/pytest.ini
2025-09-02 19:06:51 +05:30

22 lines
531 B
INI

[pytest]
DJANGO_SETTINGS_MODULE = plane.settings.test
python_files = test_*.py
python_classes = Test*
python_functions = test_*
markers =
unit: Unit tests for models, serializers, and utility functions
contract: Contract tests for API endpoints
smoke: Smoke tests for critical functionality
slow: Tests that are slow and might be skipped in some contexts
asyncio: Tests that use asyncio
addopts =
--strict-markers
--reuse-db
--nomigrations
-vs
# Async test configuration
asyncio_mode = auto