Correct sonar coverage data 69/35469/1
authorYun Huang <yun.huang@windriver.com>
Tue, 13 Mar 2018 12:59:31 +0000 (20:59 +0800)
committerYun Huang <yun.huang@windriver.com>
Tue, 13 Mar 2018 12:59:31 +0000 (20:59 +0800)
Change-Id: Ib80167db0eaf03c20363d2d85152c0ae6cc35430
Issue-ID: MULTICLOUD-171
Signed-off-by: Yun Huang <yun.huang@windriver.com>
windriver/tox.ini

index 3628414..424a867 100644 (file)
@@ -16,14 +16,14 @@ setenv =
 deps = -r{toxinidir}/requirements.txt
 commands =
     coverage run --branch manage.py test titanium_cloud
-    coverage report --omit=".tox/*,*tests*,*__init__.py,*newton_base*,*common*" --fail-under=30
+    coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*" --fail-under=30
 
 [testenv:pep8]
 deps=flake8
 commands=flake8
 
 [testenv:cov]
-commands = coverage xml --omit="*test_*,*__init__.py,*site-packages*"
+commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*"
 
 [testenv:cover]
 setenv=