Merge "Update nfv testenv to use python3 by default" into f/centos8

This commit is contained in:
Zuul 2021-07-07 16:22:40 +00:00 committed by Gerrit Code Review
commit bf4a7618a0
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ def names(self, names):
# Replacing address of "names" in V1ContainerImage
# with the "names" defined above
V1ContainerImage.names = V1ContainerImage.names.setter(names)
V1ContainerImage.names = V1ContainerImage.names.setter(names) # pylint: disable=no-member
def get_client():

View File

@ -10,7 +10,7 @@
# and then run "tox" from this directory.
[tox]
toxworkdir = /tmp/{env:USER}_nfvtox
envlist = pep8,py27,pylint
envlist = pep8,py27,py36,pylint
skipsdist = True
stxdir = {toxinidir}/../..
@ -99,7 +99,7 @@ commands =
[testenv:pylint]
basepython = python2.7
basepython = python3
deps = {[nfv]deps}
-r{toxinidir}/test-requirements.txt
{[nfv]nfv_test_dir}/nfv_scenario_tests
@ -155,7 +155,7 @@ commands = cp -v {[nfv]nfv_base_dir}/nfv-tests/nfv_unit_tests/test_data/nfv_vim_
stestr slowest
[testenv:cover]
basepython = python2.7
basepython = python3
deps = {[nfv]deps}
coverage
fixtures