Fix sonar coverage report issue 95/99395/1
authorBin Yang <bin.yang@windriver.com>
Tue, 10 Dec 2019 09:15:55 +0000 (09:15 +0000)
committerBin Yang <bin.yang@windriver.com>
Tue, 10 Dec 2019 09:15:55 +0000 (09:15 +0000)
The sonar coverage should exclude API_v2 which is not maintained any more.

Change-Id: Ieaa75c99a275d09474bfc7547b171e6efa54e3b4
Issue-ID: MULTICLOUD-962
Signed-off-by: Bin Yang <bin.yang@windriver.com>
multivimbroker/tox.ini

index 83cf1d9..7ba8967 100644 (file)
@@ -32,7 +32,7 @@ setenv=
 commands =
   coverage erase
   {[testenv]commands}
-  coverage xml -i
+  coverage xml -i --omit="*/api_v2/*,./venv-tox/*,./.tox/*,*tests*,*site-packages*"
 
 [testenv:rstcheck]
 deps = rstcheck

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use