Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NONRTRIC980: fixs for controlpanel kong, 'hunkey dory' and pms ports
[it/dep.git]
/
smo-install
/
test
/
pythonsdk
/
tox.ini
diff --git
a/smo-install/test/pythonsdk/tox.ini
b/smo-install/test/pythonsdk/tox.ini
index
7475a4f
..
53b7696
100644
(file)
--- a/
smo-install/test/pythonsdk/tox.ini
+++ b/
smo-install/test/pythonsdk/tox.ini
@@
-1,5
+1,5
@@
[tox]
[tox]
-
#
envlist = pylint,pydocstyle,unit-tests,oran-tests
+envlist = pylint,pydocstyle,unit-tests,oran-tests
skipsdist=True
[testenv]
skipsdist=True
[testenv]
@@
-8,29
+8,42
@@
deps =
pytest==6.2.5
pytest-cov==2.10.1
pydocstyle==5.1.1
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 = *
[testenv:unit-tests]
basepython=python3.8
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
setenv =
PYTHONPATH = $PYTHONPATH:{toxinidir}/src
ONAP_PYTHON_SDK_SETTINGS=oransdk.configuration.global_settings
-[testenv:
oran-tests
]
+[testenv:
pylint
]
basepython=python3.8
basepython=python3.8
-commands = py
test -v --junit-xml=oran-tests.xml src/orantests
/
+commands = py
lint --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
setenv =
PYTHONPATH = $PYTHONPATH:{toxinidir}/src
ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings
+[testenv:pydocstyle]
+basepython=python3.8
+commands = pydocstyle src/
+setenv =
+ PYTHONPATH = $PYTHONPATH:{toxinidir}/src
+ ONAP_PYTHON_SDK_SETTINGS=orantests.configuration.settings
-[testenv:
pylint
]
+[testenv:
oran-tests
]
basepython=python3.8
basepython=python3.8
-commands = pylint --disable=invalid-name src/
+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:
pydocstyle
]
+[testenv:
ns-tests
]
basepython=python3.8
basepython=python3.8
-commands = pydocstyle src/
+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