tox: fix coverage
'tox -e cover' was broken as 'coverage' was looking for 'kuryr-kubernetes' package instead of 'kuryr_kubernetes'. Change-Id: I3c52e5ce8b5e2fdad385a2edf16f9dc35f9286cd
This commit is contained in:
parent
f0e1c206a9
commit
f383c67b41
17
.coveragerc
Normal file
17
.coveragerc
Normal file
@ -0,0 +1,17 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = kuryr_kubernetes
|
||||
omit = kuryr_kubernetes/tests/*
|
||||
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
exclude_lines =
|
||||
# Have to re-enable the standard pragma
|
||||
pragma: no cover
|
||||
|
||||
# Don't complain if tests don't hit defensive assertion code:
|
||||
raise NotImplementedError
|
||||
|
||||
# Don't complain if non-runnable code isn't run:
|
||||
if __name__ == .__main__.:
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,6 +22,7 @@ pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
nosetests.xml
|
||||
cover
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
|
Loading…
Reference in New Issue
Block a user