Fix tox.ini 08/74908/5
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 3 Jul 2025 10:52:56 +0000 (12:52 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 3 Jul 2025 13:26:41 +0000 (15:26 +0200)
Change-Id: If7f67326a9fc72fc477f6c83957de3181d086a7b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docs/release/release-notes/functest-release.rst
tox.ini
upper-constraints.txt

index 760ae49..1c80648 100644 (file)
@@ -147,12 +147,3 @@ Code quality
 
  * pylint: 10.00/10
  * code coverage: 70%
-
-Useful links
-============
-
- * Functest git repository: https://github.com/opnfv/functest
- * Functest CI dashboard: https://build.opnfv.org/ci/view/functest/
- * JIRA dashboard: https://jira.opnfv.org/secure/Dashboard.jspa?selectPageId=10611
- * Functest IRC channel: #opnfv-functest
- * Reporting page: http://testresults.opnfv.org/reporting/master/functest/functest.html
diff --git a/tox.ini b/tox.ini
index 6388a14..02a89ee 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ deps =
   -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/unmaintained/xena/upper-constraints.txt}
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
-install_command = pip install {opts} {packages}
+install_command = pip install --use-deprecated=legacy-resolver {opts} {packages}
 commands = nosetests --with-xunit \
   --with-coverage \
   --cover-tests \
@@ -45,28 +45,28 @@ commands =
 [testenv:yamllint]
 basepython = python3.9
 files =
-  .travis.yml
-  docker
-  functest/ci
-  functest/opnfv_tests/openstack/rally/blacklist.yaml
-  functest/opnfv_tests/openstack/rally/rally_jobs.yaml
-  functest/opnfv_tests/openstack/tempest/custom_tests/blacklist.yaml
-  functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml
+  .travis.yml \
+  docker \
+  functest/ci \
+  functest/opnfv_tests/openstack/rally/blacklist.yaml \
+  functest/opnfv_tests/openstack/rally/rally_jobs.yaml \
+  functest/opnfv_tests/openstack/tempest/custom_tests/blacklist.yaml \
+  functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml \
   functest/opnfv_tests/vnf
 commands =
   yamllint -s {[testenv:yamllint]files}
 
-[testenv:py37]
+[testenv:py39]
 commands = nosetests functest/tests/unit
 
 [testenv:bashate]
 basepython = python3.9
 files =
-  functest/opnfv_tests/openstack/cinder/write_data.sh
-  functest/opnfv_tests/openstack/cinder/read_data.sh
-  functest/ci/add_proxy.sh
-  functest/ci/convert_images.sh
-  functest/ci/download_images.sh
+  functest/opnfv_tests/openstack/cinder/write_data.sh \
+  functest/opnfv_tests/openstack/cinder/read_data.sh \
+  functest/ci/add_proxy.sh \
+  functest/ci/convert_images.sh \
+  functest/ci/download_images.sh \
   build.sh
 commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
 
@@ -78,7 +78,7 @@ commands = bandit -r functest -x tests -n 5 -ll -s B601,B602
 [testenv:cover]
 basepython = python3.9
 dirs =
-  functest/tests/unit/openstack/vping
+  functest/tests/unit/openstack/vping \
   functest/tests/unit/openstack/cinder
 commands = nosetests --with-coverage --cover-tests \
   --cover-package functest.opnfv_tests.openstack.vping.vping_ssh \
index 97398b2..76dabea 100644 (file)
@@ -20,3 +20,4 @@ sphinxcontrib-spelling===4.3.0
 ansible-lint===5.2.1
 setuptools_scm===6.3.2
 os-faults==0.2.7
+sphinx-rtd-theme===1.0.0