diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-19 14:42:33 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-20 18:12:04 +0100 |
commit | 1ac142fa1e785aade8272759d32561fc716e8740 (patch) | |
tree | 125fdfb17a10c19412f0921d2bec3951c293a7d4 /utils/.coveragerc | |
parent | ed1c12c783e74f0226f33ba0a6f20cc6e5b5f396 (diff) | |
download | openshift-1ac142fa1e785aade8272759d32561fc716e8740.tar.gz openshift-1ac142fa1e785aade8272759d32561fc716e8740.tar.bz2 openshift-1ac142fa1e785aade8272759d32561fc716e8740.tar.xz openshift-1ac142fa1e785aade8272759d32561fc716e8740.zip |
Replace nose with pytest (utils)
Diffstat (limited to 'utils/.coveragerc')
-rw-r--r-- | utils/.coveragerc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/utils/.coveragerc b/utils/.coveragerc index e1d918755..7a2554caf 100644 --- a/utils/.coveragerc +++ b/utils/.coveragerc @@ -1,5 +1,18 @@ [run] -omit= +branch = True +omit = */lib/python*/site-packages/* */lib/python*/* /usr/* + setup.py + # TODO(rhcarvalho): this is used to ignore test files from coverage report. + # We can make this less generic when we stick with a single test pattern in + # the repo. + test_*.py + *_tests.py + +[report] +fail_under = 70 + +[html] +directory = cover |