diff --git a/.coveragerc b/.coveragerc index 5814f2821007..c170c80db7e3 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,6 @@ [run] branch = True +dynamic_context = test_function source = warehouse diff --git a/bin/tests b/bin/tests index c6449742c4a5..fffca548bb61 100755 --- a/bin/tests +++ b/bin/tests @@ -34,5 +34,5 @@ set -x # Actually run our tests. python -m coverage run -m pytest --strict-markers $COMMAND_ARGS -python -m coverage html +python -m coverage html --show-contexts python -m coverage report -m --fail-under 100