[tool:pytest]
addopts = -rfEsx --cov=src/ --cov=tests/ --no-cov-on-fail --cov-report=term
norecursedirs = *.egg-info .git .mypy_cache node_modules .pytest_cache .vscode
markers =
service(arg): a service integration test. For example 'docker'
enable_orion_handler: by default, sending logs to the API is disabled. Tests marked with this use the handler.
env =
# NOTE: Additional Prefect setting values are set dynamically in conftest.py
PREFECT_TEST_MODE = 1
asyncio_mode = auto
timeout = 60
# Error on unhandled warnings
filterwarnings =
error
# tornado uses deprecated `get_event_loop`
ignore::DeprecationWarning:tornado.platform.asyncio.*
ignore::DeprecationWarning:tornado.ioloop
# Temporary directories are cleaned up implicitly on Windows
# It is unclear if this comes from an external tool or our own usage
# Here the start of the path is included to only filter warnings on Windows
ignore:Implicitly cleaning up