Merge "Update nfv testenv to use python3 by default" into f/centos8
This commit is contained in:
commit
bf4a7618a0
|
@ -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():
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue