summaryrefslogtreecommitdiffstats
path: root/mgr
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-23 11:26:35 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-23 11:26:35 +0800
commit4e491e83c130d9a094bd40d9d713b6bec11ad591 (patch)
tree7b458394190fdcbf803b9321e859893c43c00410 /mgr
parent73db0c011b0d3249fca4a8f9d98c4fc96d1beaa4 (diff)
Add vfc-gvnfm-vnfmgr tox coverge
Change-Id: I94f708558cdd4da08d9291c79f29099ecdaa3e6b Issue-ID: VFC-441 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'mgr')
-rw-r--r--mgr/tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/mgr/tox.ini b/mgr/tox.ini
index de86105..c8b743d 100644
--- a/mgr/tox.ini
+++ b/mgr/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,pep8
+envlist = py27,pep8,cov
skipsdist = true
[tox:jenkins]
@@ -18,4 +18,7 @@ commands = flake8
[testenv:py27]
commands =
- {[testenv]commands} \ No newline at end of file
+ {[testenv]commands}
+
+[testenv:cov]
+commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov \ No newline at end of file