Convert functional tests to python3
Depends-On: https://review.openstack.org/#/c/630462/ Change-Id: Ib89f021388bccb925cd19e3792a9c7b524319502
This commit is contained in:
parent
b955ac9064
commit
e476fc94e0
@ -49,6 +49,9 @@
|
|||||||
# Keep localrc to be able to set some vars in pre_test_hook
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
export KEEP_LOCALRC=1
|
export KEEP_LOCALRC=1
|
||||||
|
|
||||||
|
export DEVSTACK_GATE_USE_PYTHON3=True
|
||||||
|
export PYTHON3_VERSION="3.6"
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
source $BASE/new/python-manilaclient/contrib/ci/pre_test_hook.sh
|
source $BASE/new/python-manilaclient/contrib/ci/pre_test_hook.sh
|
||||||
}
|
}
|
||||||
|
1
tox.ini
1
tox.ini
@ -65,6 +65,7 @@ commands =
|
|||||||
-b html releasenotes/source releasenotes/build/html
|
-b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
|
basepython = python3
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv]setenv}
|
{[testenv]setenv}
|
||||||
OS_TEST_PATH = ./manilaclient/tests/functional
|
OS_TEST_PATH = ./manilaclient/tests/functional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user