Skip to content

Commit

Permalink
Merge pull request #5287 from hypothesis/fail-tests-on-warnings
Browse files Browse the repository at this point in the history
Make the tests fail if any warnings are printed
  • Loading branch information
seanh committed Sep 18, 2018
2 parents b4842c1 + 42042dd commit 9094e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ passenv =
ELASTICSEARCH_URL
PYTEST_ADDOPTS
commands =
coverage run --parallel --source h,tests/h -m pytest {posargs:tests/h/}
coverage run --parallel --source h,tests/h -m pytest -Werror {posargs:tests/h/}

[functional]
deps =
Expand All @@ -36,7 +36,7 @@ passenv =
ELASTICSEARCH_URL
TEST_DATABASE_URL
PYTEST_ADDOPTS
commands = pytest {posargs:tests/functional/}
commands = pytest -Werror {posargs:tests/functional/}

[testenv:functional]
deps = {[functional]deps}
Expand Down

0 comments on commit 9094e81

Please sign in to comment.