Add new tests to validate O1
[it/dep.git] / smo-install / test / pythonsdk / tox.ini
index 5ce0b66..3e712ee 100644 (file)
@@ -19,18 +19,23 @@ setenv =
     PYTHONPATH = $PYTHONPATH:{toxinidir}/src
     ONAP_PYTHON_SDK_SETTINGS=oransdk.configuration.global_settings
 
-[testenv:oran-tests]
+[testenv:pylint]
 basepython=python3.8
-commands = pytest -v --junit-xml=oran-tests.xml src/orantests/
+commands = pylint --disable=invalid-name,line-too-long,too-few-public-methods,import-error,unnecessary-lambda src/
 setenv =
     PYTHONPATH = $PYTHONPATH:{toxinidir}/src
     ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings
 
-
-[testenv:pylint]
-basepython=python3.8
-commands = pylint --disable=invalid-name src/
-
 [testenv:pydocstyle]
 basepython=python3.8
 commands = pydocstyle src/
+setenv =
+    PYTHONPATH = $PYTHONPATH:{toxinidir}/src
+    ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings
+
+[testenv:oran-tests]
+basepython=python3.8
+commands = pytest -v --junit-xml=oran-tests.xml src/orantests/
+setenv =
+    PYTHONPATH = $PYTHONPATH:{toxinidir}/src
+    ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings