Exclude cyborg tests dir in UT cover report
We don't care about coverage of actual test code, So exclude cyborg/tests dir. Change-Id: I534f652c098ed91afb8f52cfc6bb78268a4d5f21
This commit is contained in:
parent
1318fa9111
commit
5751cebaa2
12
.coveragerc
Normal file
12
.coveragerc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[run]
|
||||||
|
branch = True
|
||||||
|
source = cyborg
|
||||||
|
omit =
|
||||||
|
cyborg/tests/*
|
||||||
|
cyborg/hacking/*
|
||||||
|
|
||||||
|
[report]
|
||||||
|
ignore_errors = True
|
||||||
|
exclude_lines =
|
||||||
|
@abc.abstract
|
||||||
|
raise NotImplementedError
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,7 +2,6 @@
|
|||||||
*.tox
|
*.tox
|
||||||
*.retry
|
*.retry
|
||||||
.coverage
|
.coverage
|
||||||
.coveragerc
|
|
||||||
.coverage.*
|
.coverage.*
|
||||||
.venv
|
.venv
|
||||||
.stestr/
|
.stestr/
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
test_path=./
|
test_path=./cyborg/tests
|
||||||
top_dir=./
|
top_dir=./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user