X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smo-install%2Ftest%2Fpythonsdk%2Ftox.ini;h=3e712eebd16a19744034731b109b328d0a6f3bcb;hb=6c7e3c3c5e51182a891a2a21676f1cc2646ba484;hp=5ce0b6686014740ace0a0616eb35ce706dcc8e05;hpb=8b713ed09d061baacf624a533be3351e7dcb0500;p=it%2Fdep.git diff --git a/smo-install/test/pythonsdk/tox.ini b/smo-install/test/pythonsdk/tox.ini index 5ce0b668..3e712eeb 100644 --- a/smo-install/test/pythonsdk/tox.ini +++ b/smo-install/test/pythonsdk/tox.ini @@ -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