From 373f0f3559049ea91a3fb47a445c554512c36435 Mon Sep 17 00:00:00 2001 From: Andrew Gauld Date: Wed, 21 Feb 2018 11:14:46 -0500 Subject: Make SONAR code coverage analysis work Change-Id: I8091aea6127b78de404c986be74ecf44935ab92f Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld --- onap-dcae-cbs-docker-client/tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'onap-dcae-cbs-docker-client/tox.ini') diff --git a/onap-dcae-cbs-docker-client/tox.ini b/onap-dcae-cbs-docker-client/tox.ini index cad80d0..d3aa5da 100644 --- a/onap-dcae-cbs-docker-client/tox.ini +++ b/onap-dcae-cbs-docker-client/tox.ini @@ -10,5 +10,8 @@ deps= setenv = CONSUL_HOST = consuldotcom HOSTNAME = mybestfrienddotcom + PYTHONPATH={toxinidir} -commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir}/onap_dcae_cbs_docker_client --cov-report=xml +commands= + pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml + coverage xml -- cgit 1.2.3-korg