X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smo-install%2Ftest%2Fpythonsdk%2Ftox.ini;h=3e712eebd16a19744034731b109b328d0a6f3bcb;hb=a8414e7e44dea72da6f4f235e14f7fef59b4e266;hp=7475a4f951fbf96ce14437089298147912149647;hpb=285d9a5c96b23594b419d95c71c5d6a2cf52052e;p=it%2Fdep.git diff --git a/smo-install/test/pythonsdk/tox.ini b/smo-install/test/pythonsdk/tox.ini index 7475a4f9..3e712eeb 100644 --- a/smo-install/test/pythonsdk/tox.ini +++ b/smo-install/test/pythonsdk/tox.ini @@ -9,7 +9,7 @@ deps = pytest-cov==2.10.1 pydocstyle==5.1.1 onapsdk==9.0.0 - + waiting==1.4.1 passenv = * [testenv:unit-tests] @@ -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