Enabled branch coverage for barbican. Took out inclusive coverage.

Change-Id: Ie81ba92103e35962f5e85b1442237d6617f44736
This commit is contained in:
Steve Heyman 2014-01-06 11:50:39 -06:00
parent 2fca4f68c3
commit 1526e63c9d
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,8 @@ cover-erase=1
#-traverse-namespace=1
#with-coverage=1
cover-package=barbican
#-cover-inclusive=1
#cover-inclusive=1
cover-branches=1
# TBD: OpenStack stuff...
# NOTE(jkoelker) To run the test suite under nose install the following

View File

@ -12,7 +12,7 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py27]
commands = nosetests {posargs:--with-xcoverage --all-modules --cover-inclusive --traverse-namespace --with-xunit --cover-package=barbican}
commands = nosetests {posargs:--with-xcoverage --all-modules --traverse-namespace --with-xunit --cover-package=barbican}
[testenv:coverage]
commands = coverage html {posargs:--include="*barbican*"}