NONRTRIC-955: Fix unit test 404 issue
[sim/a1-interface.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 3a1149e..18306b5 100644 (file)
--- a/tox.ini
+++ b/tox.ini
 
 [tox]
 envlist = code,docs,docs-linkcheck
-minversion = 2.0
+minversion = 4.0
 skipsdist = true
 
 ; basic test and coverage jobs
 [testenv:code]
-basepython = python3.8
+basepython = python3
 deps=
     pytest
     coverage
     pytest-cov
-    connexion
+    connexion==2.14.2
+    Flask==2.2.5
 
 setenv =
     TESTS_BASE_PATH = {toxinidir}/near-rt-ric-simulator/tests
@@ -48,7 +49,7 @@ commands =
 # doc jobs
 [testenv:docs]
 allowlist_externals = echo
-basepython = python3.8
+basepython = python3
 deps = -r{toxinidir}/docs/requirements-docs.txt
 commands =
     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
@@ -56,7 +57,7 @@ commands =
 
 [testenv:docs-linkcheck]
 skipsdist = true
-basepython = python3.8
+basepython = python3
 deps = -r{toxinidir}/docs/requirements-docs.txt
 commands =
     sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck