VPNaaS: Enable coverage tests

Since the repo split, the coverage test was not operational. This
commit modifies the setup to enable coverage to correctly run.

Change-Id: Iaf4b9e334010dc83c09f9b30cda2af68a02cac4c
Paritally-Implements: blueprint services-split
This commit is contained in:
Paul Michali 2015-02-09 12:42:04 -05:00
parent 886f096246
commit 77e46dd71e
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[run]
branch = True
source = neutron
omit = neutron/tests/*,neutron/plugins/cisco/test/*,neutron/openstack/*
source = neutron_vpnaas
# omit = neutron_vpnaas/tests/*
[report]
ignore-errors = True

View File

@ -56,7 +56,7 @@ commands = python ./tools/check_i18n.py ./neutron-vpnaas ./tools/i18n_cfg.py
[testenv:cover]
commands =
lockutils-wrapper python setup.py testr --coverage --testr-args='{posargs}'
python setup.py testr --coverage --coverage-package-name=neutron_vpnaas --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}