Add vfc-gvnfm-vnfmgr tox coverge 91/14791/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Sat, 23 Sep 2017 03:26:35 +0000 (11:26 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Sat, 23 Sep 2017 03:26:35 +0000 (11:26 +0800)
Change-Id: I94f708558cdd4da08d9291c79f29099ecdaa3e6b
Issue-ID: VFC-441
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
mgr/tox.ini

index de86105..c8b743d 100644 (file)
@@ -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