[tool:pytest] | |
testpaths = tests | |
python_files = test_*.py | |
python_classes = Test* | |
python_functions = test_* | |
addopts = | |
-v | |
--tb=short | |
--strict-markers | |
--disable-warnings | |
--color=yes | |
--durations=10 | |
--cov=controllers | |
--cov=mysite | |
--cov-report=term-missing | |
--cov-report=html:htmlcov | |
markers = | |
slow: marks tests as slow (deselect with '-m "not slow"') | |
integration: marks tests as integration tests | |
unit: marks tests as unit tests | |
api: marks tests as API tests | |
filterwarnings = | |
ignore::DeprecationWarning | |
ignore::PendingDeprecationWarning | |
ignore::UserWarning | |