Unbale to run tox -e coverage 53/9953/1
authorsahil-xoriant <sahil.koli@xoriant.com>
Mon, 5 Dec 2022 12:45:33 +0000 (18:15 +0530)
committersahil-xoriant <sahil.koli@xoriant.com>
Mon, 5 Dec 2022 12:45:33 +0000 (18:15 +0530)
SMO-111

Signed-off-by: sahil-xoriant <sahil.koli@xoriant.com>
Change-Id: I01b59001acc333956476afd4a05507d6961dae38

tox.ini

diff --git a/tox.ini b/tox.ini
index 1fde1fb..3f856bc 100644 (file)
--- 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