aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini16
1 files changed, 6 insertions, 10 deletions
diff --git a/tox.ini b/tox.ini
index 493c951c..ac898d93 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,13 +10,12 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install {opts} {packages}
-commands = nosetests --with-xunit \
- --with-coverage \
- --cover-tests \
- --cover-package=functest_kubernetes \
- --cover-xml \
- --cover-html \
- functest_kubernetes
+commands =
+ pytest \
+ --junit-xml=junit.xml \
+ --html=report.html --self-contained-html \
+ --cov=xtesting --cov-reset --cov-report html \
+ functest_kubernetes
[testenv:pep8]
basepython = python3.10
@@ -40,9 +39,6 @@ commands =
basepython = python3.10
commands = bandit -r functest_kubernetes -x tests -n 5 -ll
-[testenv:py37]
-commands = nosetests functest_kubernetes
-
[testenv:bashate]
basepython = python3.10
files =