diff --git a/setup.cfg b/setup.cfg index 23ce1af67..58856f2ac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index 55f50224f..fbaae3d4a 100644 --- a/tox.ini +++ b/tox.ini @@ -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*"}