-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It didn't work for me, because nose would crawl inside manual_tests, try to run test_fstest.py, and fail (because that test is manual and requires extra setup, like putting fstest.py on PYTHONPATH). I also don't think that we want to exclude test layers from coverage measurements (nose doesn't support them). This change makes 'tox -e coverage' use zope.testrunner like it does for regular tests.
- Loading branch information
Showing
2 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[run] | ||
# source = ... | ||
# omit = ... | ||
# cover_pylib = False | ||
# branch = True | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: nocover | ||
if __name__ == ['"]__main__['"]: | ||
assert False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters