Add Onap Jakarta support
[it/dep.git] / smo-install / test / pythonsdk / tox.ini
index 3e712ee..3931d70 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-#envlist = pylint,pydocstyle,unit-tests,oran-tests
+envlist = pylint,pydocstyle,unit-tests,oran-tests
 skipsdist=True
 
 [testenv]
@@ -10,11 +10,12 @@ deps =
     pydocstyle==5.1.1
     onapsdk==9.0.0
     waiting==1.4.1
+    markupsafe==2.0.1
 passenv = *
 
 [testenv:unit-tests]
 basepython=python3.8
-commands = pytest -v --junit-xml=unit-tests.xml unit-tests/
+commands = pytest -v --junit-xml=reports/junit/unit-tests.xml unit-tests/
 setenv =
     PYTHONPATH = $PYTHONPATH:{toxinidir}/src
     ONAP_PYTHON_SDK_SETTINGS=oransdk.configuration.global_settings
@@ -35,7 +36,7 @@ setenv =
 
 [testenv:oran-tests]
 basepython=python3.8
-commands = pytest -v --junit-xml=oran-tests.xml src/orantests/
+commands = pytest -v --junit-xml=reports/junit/oran-tests.xml src/orantests/
 setenv =
     PYTHONPATH = $PYTHONPATH:{toxinidir}/src
     ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings