arm-core/api/pytest.ini
Andrey Epifancev bb20d323d0 chore: инструменты шаблона — pyproject (ruff, mypy), requirements-dev, Makefile
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 18:01:18 +04:00

25 lines
701 B
INI

[pytest]
pythonpath = .
testpaths =
tests
python_files =
test_*.py
tests*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
addopts =
--tb=short
--strict-markers
--verbose
--capture=no
env =
APP_ENV=test
ENV_FILE=.env.test
norecursedirs = .git __pycache__ .venv env build dist
markers =
integration: тесты, которым нужны PostgreSQL/NATS (docker compose); запускаются отдельно от юнит-тестов
fixtures: тесты на реальных данных из ../fixtures (внутренний доступ)