Make SONAR code coverage analysis work
Change-Id: I8091aea6127b78de404c986be74ecf44935ab92f
Issue-ID: DCAEGEN2-355
Signed-off-by: Andrew Gauld <ag1282@att.com>
diff --git a/python-dockering/tox.ini b/python-dockering/tox.ini
index 280cf78..71de279 100644
--- a/python-dockering/tox.ini
+++ b/python-dockering/tox.ini
@@ -7,4 +7,8 @@
pytest
coverage
pytest-cov
-commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir}/dockering --cov-report=xml
+setenv=
+ PYTHONPATH={toxinidir}
+commands=
+ pytest --junitxml xunit-results.xml --cov dockering --cov-report xml
+ coverage xml