pytest-cov==2.10.1
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
-[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=reports/junit/oran-tests.xml src/orantests/
+setenv =
+ PYTHONPATH = $PYTHONPATH:{toxinidir}/src
+ ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings