Always use python2.7 for functional tests
The functional testenv doesn't work with python 3.x on our codebase.
If someone is on a platform that defaults to python => python3,
functional tests will fail for them.
Closes-Bug: #1632521
Change-Id: I7bf6653f55c10d0a4f75054e519edf7da19c5c09
(cherry picked from commit 32e533d59a
)
This commit is contained in:
parent
9825c80904
commit
6f75db11d3
3
tox.ini
3
tox.ini
|
@ -41,6 +41,9 @@ commands =
|
|||
ostestr --blacklist_file tests-py3.txt
|
||||
|
||||
[testenv:functional]
|
||||
# TODO(melwitt): This can be removed when functional tests can be run
|
||||
# with python 3.x
|
||||
basepython = python2.7
|
||||
usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
OS_TEST_PATH=./nova/tests/functional
|
||||
|
|
Loading…
Reference in New Issue