28 lines
631 B
INI
28 lines
631 B
INI
[pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_functions = test_*
|
|
asyncio_mode = auto
|
|
filterwarnings =
|
|
ignore::DeprecationWarning:botocore.auth
|
|
ignore:The 'app' shortcut is now deprecated:DeprecationWarning:httpx._client
|
|
|
|
# Coverage configuration
|
|
addopts =
|
|
--cov=app
|
|
--cov-report=term-missing
|
|
|
|
# Test environment variables
|
|
env =
|
|
MOCK_AUTH=true
|
|
DB_USER=test_user
|
|
DB_PASSWORD=test_password
|
|
DB_HOST=localhost
|
|
DB_NAME=iptv_manager_test
|
|
|
|
# Test markers
|
|
markers =
|
|
slow: mark tests as slow running
|
|
integration: integration tests
|
|
unit: unit tests
|
|
db: tests requiring database |