summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-13 20:59:31 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-13 20:59:31 +0800
commit3b71801cfa48a3463b6909544d33ebb6f05a154d (patch)
tree4f7787ea9caab4356ae2ca5cf0b7a9bdb62a11b2
parent280526abe4be41d9e66c8d7b9d70d43c6ab61d64 (diff)
Correct sonar coverage data
Change-Id: Ib80167db0eaf03c20363d2d85152c0ae6cc35430 Issue-ID: MULTICLOUD-171 Signed-off-by: Yun Huang <yun.huang@windriver.com>
-rw-r--r--windriver/tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/windriver/tox.ini b/windriver/tox.ini
index 36284148..424a867e 100644
--- a/windriver/tox.ini
+++ b/windriver/tox.ini
@@ -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=