testdir runs are affecting coverage, can I tweak to prevent this? #8876
Unanswered
joshua-badger
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#8868
While working on the issue I'm asking about in the above link, I am running into an issue with code coverage.
Specifically, when I add a test to my test suite (which uses
testdir
, specificallytestdir.runpytest_subprocess()
, all of a sudden my coverage drops on my django settings files.Is there something I can do to prevent my test from reverting this coverage?
The added test file:
The coverage report output:
coveragerc file:
Beta Was this translation helpful? Give feedback.
All reactions