[pytest] DJANGO_SETTINGS_MODULE = eusrr_backend.settings_test python_files = tests.py test_*.py *_tests.py # Asyncio mode asyncio_mode = auto asyncio_default_fixture_loop_scope = function # Markers для категоризации тестов markers = manual: marks tests as manual (not run by default) integration: marks tests as integration tests slow: marks tests as slow running asyncio: marks tests as asynchronous tests performance: marks tests as performance tests # Исключить manual tests по умолчанию addopts = -m "not manual" --strict-markers # Пути для сбора тестов testpaths = tests employees documents payroll_core/tests # Игнорировать директории norecursedirs = .git .venv __pycache__ node_modules staticfiles media scripts tests/manual # Опции для вывода console_output_style = progress filterwarnings = ignore:tagMap is deprecated\. Please use TAG_MAP instead\.:DeprecationWarning:pyasn1\.codec\.ber\.encoder ignore:typeMap is deprecated\. Please use TYPE_MAP instead\.:DeprecationWarning:pyasn1\.codec\.ber\.encoder ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning:ldapdb\.models\.fields ignore:The 'django-fsm' package has been integrated into 'viewflow' as 'viewflow\.fsm'.*:UserWarning:django_fsm