-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 \
[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}
[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 \