aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-01-21 01:02:20 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-01-21 14:53:47 +0100
commit2030e14451a072844e750318de0d5efc47d4500c (patch)
tree47e79f3244d233d6edbe11e30150185ed12a59e0 /tox.ini
parenta6df43da7ab4de653eecbc9b6380d5fc7ce7bc14 (diff)
Fully test and cover functest/ci/tier_*
It also fixes check_deployment.py and ci unit tests which were wrong when testing exceptions. Now ci modules are rated 10/10 and fully covered. Change-Id: I30dca491b44cc54aa1abc0d0433c00b4dcabfdc4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 70621618..0dd543da 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,8 +34,9 @@ modules =
functest.core
functest.energy
functest.opnfv_tests.sdn.odl
- functest.tests.unit.ci.test_tier_handler
+ functest.tests.unit.ci.test_check_deployment
functest.tests.unit.ci.test_tier_builder
+ functest.tests.unit.ci.test_tier_handler
functest.tests.unit.core
functest.tests.unit.energy
functest.tests.unit.odl
@@ -70,11 +71,15 @@ commands = nosetests {[testenv:py35]dirs}
[testenv:cover]
basepython = python2.7
dirs =
+ functest/tests/unit/ci
functest/tests/unit/core
functest/tests/unit/energy
functest/tests/unit/odl
functest/tests/unit/utils/test_decorators.py
commands = nosetests --with-coverage --cover-tests \
+ --cover-package functest.ci.check_deployment \
+ --cover-package functest.ci.tier_builder \
+ --cover-package functest.ci.tier_handler \
--cover-package functest.core \
--cover-package functest.energy \
--cover-package functest.opnfv_tests.sdn.odl \