53 lines
1000 B
INI
Raw Normal View History

2025-10-03 02:33:26 +02:00
[pytest]
# Pytest configuration for WebDAV server tests
# Asyncio configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Minimum version
minversion = 7.0
# Add current directory to Python path
pythonpath = .
# Test output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
-p no:warnings
# Markers
markers =
asyncio: mark test as an asyncio test
slow: mark test as slow running
integration: mark test as integration test
unit: mark test as unit test
# Logging
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Coverage options (if using pytest-cov)
[coverage:run]
source = .
omit =
*/tests/*
*/test_*.py
*/.venv/*
*/venv/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False