arm-core/api/pytest.ini
Andrey Epifancev 8e6223a273 feat: models/enums.py — 27 enum'ов DBML v5.13, фабрика pg_enum, DBML_VERSION
Тест сверяет имена и упорядоченные значения с блоками Enum {} DBML через pydbml.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 18:47:23 +04:00

28 lines
908 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
# pydbml (dev-зависимость) вызывает устаревшие API pyparsing — шум библиотеки, не нашего кода
filterwarnings =
ignore::DeprecationWarning:pydbml.*
markers =
integration: тесты, которым нужны PostgreSQL/NATS (docker compose); запускаются отдельно от юнит-тестов
fixtures: тесты на реальных данных из ../fixtures (внутренний доступ)