Fix/add use cases under SMO package
[it/dep.git] / smo-install / test / pythonsdk / tox.ini
index 3931d70..53b7696 100644 (file)
@@ -8,7 +8,7 @@ deps =
     pytest==6.2.5
     pytest-cov==2.10.1
     pydocstyle==5.1.1
-    onapsdk==9.0.0
+    onapsdk==9.4.0
     waiting==1.4.1
     markupsafe==2.0.1
 passenv = *
@@ -22,7 +22,7 @@ setenv =
 
 [testenv:pylint]
 basepython=python3.8
-commands = pylint --disable=invalid-name,line-too-long,too-few-public-methods,import-error,unnecessary-lambda src/
+commands = pylint --ignore-imports=yes --min-similarity-lines=5 --disable=invalid-name,line-too-long,too-few-public-methods,import-error,unnecessary-lambda,too-many-arguments src/
 setenv =
     PYTHONPATH = $PYTHONPATH:{toxinidir}/src
     ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings
@@ -36,7 +36,14 @@ setenv =
 
 [testenv:oran-tests]
 basepython=python3.8
-commands = pytest -v --junit-xml=reports/junit/oran-tests.xml src/orantests/
+commands = pytest -v --junit-xml=reports/junit/oran-tests.xml src/orantests/oran_tests
 setenv =
     PYTHONPATH = $PYTHONPATH:{toxinidir}/src
     ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings
+
+[testenv:ns-tests]
+basepython=python3.8
+commands = pytest -v --junit-xml=reports/junit/nt-tests.xml src/orantests/network_slicing
+setenv =
+    PYTHONPATH = $PYTHONPATH:{toxinidir}/src
+    ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings
\ No newline at end of file