Files
bakery-ia/services/data/tests/pytest.ini

44 lines
854 B
INI
Raw Normal View History

2025-07-24 08:43:54 +02:00
[tool:pytest]
2025-07-24 16:07:58 +02:00
# pytest.ini - Configuration file for AEMET tests
# Minimum version requirements
minversion = 6.0
# Add options
addopts =
-ra
--strict-markers
--strict-config
--disable-warnings
--tb=short
-v
# Test discovery
2025-07-24 08:43:54 +02:00
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
2025-07-24 16:07:58 +02:00
# Async support
asyncio_mode = auto
# Markers
2025-07-24 08:43:54 +02:00
markers =
2025-07-24 16:07:58 +02:00
unit: Unit tests
integration: Integration tests
api: API tests
performance: Performance tests
slow: Slow tests
asyncio: Async tests
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Filtering
2025-07-24 08:43:54 +02:00
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
2025-07-24 16:07:58 +02:00
ignore::PytestUnhandledCoroutineWarning