Convert functional tests to python3

Depends-On: https://review.openstack.org/#/c/630462/
Change-Id: Ib89f021388bccb925cd19e3792a9c7b524319502
This commit is contained in:
Tom Barron 2019-01-09 09:49:22 -05:00 committed by Goutham Pacha Ravi
parent b955ac9064
commit e476fc94e0
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,9 @@
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHON3_VERSION="3.6"
function pre_test_hook {
source $BASE/new/python-manilaclient/contrib/ci/pre_test_hook.sh
}

View File

@ -65,6 +65,7 @@ commands =
-b html releasenotes/source releasenotes/build/html
[testenv:functional]
basepython = python3
setenv =
{[testenv]setenv}
OS_TEST_PATH = ./manilaclient/tests/functional