From: sahil-xoriant Date: Mon, 5 Dec 2022 12:45:33 +0000 (+0530) Subject: Unbale to run tox -e coverage X-Git-Tag: 6.0.3~3 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=52c816c1bd0f2c1196077bc3aecca26f330ed746;p=smo%2Fves.git Unbale to run tox -e coverage SMO-111 Signed-off-by: sahil-xoriant Change-Id: I01b59001acc333956476afd4a05507d6961dae38 --- diff --git a/tox.ini b/tox.ini index 1fde1fb..3f856bc 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,19 @@ commands = sh -c 'pip freeze > requirements.txt' deps = pytest coverage -commands = pytest --cov=o-ran-sc_smo-ves --cov-report=xml --cov-config=tox.ini --cov-branch + pytest-cov + requests + jsonschema + kafka-python + gevent + PyYAML + pytest-mock + flask + confluent-kafka + future + mock + requests_mock +commands = pytest --ignore=functionaltest --ignore=collector --cov=o-ran-sc_smo-ves --cov-report=xml --cov-config=tox.ini --cov-branch [coverage:run] # exclude test folder from coverage report @@ -67,4 +79,4 @@ deps= # which streams the logs as they come in, rather than saving them # all for the end of tests commands = - pytest --ignore=functionaltest --ignore=collector --cov {toxinidir} --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml={toxinidir}/tmp/tests.xml + pytest --ignore=functionaltest --ignore=collector --cov {toxinidir} --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml={toxinidir}/tmp/tests.xml \ No newline at end of file