REFACTOR AEMET weather file
This commit is contained in:
@@ -1,16 +1,44 @@
|
||||
[tool:pytest]
|
||||
# pytest.ini - Configuration for async testing
|
||||
asyncio_mode = auto
|
||||
addopts = -v --tb=short --capture=no
|
||||
# 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
|
||||
testpaths = tests
|
||||
python_files = test_*.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
|
||||
# Async support
|
||||
asyncio_mode = auto
|
||||
|
||||
# Markers
|
||||
markers =
|
||||
asyncio: mark test as async
|
||||
slow: mark test as slow
|
||||
integration: mark test as integration test
|
||||
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
|
||||
filterwarnings =
|
||||
ignore::DeprecationWarning
|
||||
ignore::PendingDeprecationWarning
|
||||
ignore::PydanticDeprecatedSince20
|
||||
ignore::PytestUnhandledCoroutineWarning
|
||||
Reference in New Issue
Block a user