summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-04-27 11:43:36 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2019-05-09 19:36:39 -0300
commit0594dba5ce76628902dfd3ee107c6c2d10c7d73a (patch)
tree1e3a7b2d9fdbd0294e1bd7debb63488f2a933ae7 /tox.ini
parentf1183c242275eafd5ad5e594bd631f694c18833a (diff)
downloadpytest-0594dba5ce76628902dfd3ee107c6c2d10c7d73a.tar.gz
Remove unused markers and enable --strict-markers
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index e9517b63c..fb4134d17 100644
--- a/tox.ini
+++ b/tox.ini
@@ -141,7 +141,7 @@ commands = python scripts/release.py {posargs}
[pytest]
minversion = 2.0
-addopts = -ra -p pytester
+addopts = -ra -p pytester --strict-markers
rsyncdirs = tox.ini doc src testing
python_files = test_*.py *_test.py testing/*/*.py
python_classes = Test Acceptance
@@ -172,6 +172,11 @@ filterwarnings =
ignore::_pytest.warning_types.PytestUnknownMarkWarning
pytester_example_dir = testing/example_scripts
markers =
+ # dummy markers for testing
+ foo
+ bar
+ baz
+ # conftest.py reorders tests moving slow ones to the end of the list
slow
[flake8]