diff --git a/.coveragerc b/.coveragerc index 27eeb16b..6888d8e2 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,7 +1,7 @@ [run] branch = True source = neutron_taas -omit = neutron_taas/openstack/* +omit = neutron_taas/tests/* [report] ignore_errors = True diff --git a/tox.ini b/tox.ini index b3daf9cb..eae277e9 100644 --- a/tox.ini +++ b/tox.ini @@ -30,8 +30,9 @@ commands = commands = {posargs} [testenv:cover] +basepython = python2.7 commands = - python setup.py testr --coverage --coverage-package-name=neutron_taas --testr-args='{posargs}' + python setup.py test --coverage --coverage-package-name=neutron_taas --testr-args='{posargs}' coverage report