diff options
author | Colleen Murphy <colleen@gazlene.net> | 2018-10-28 12:46:30 +0100 |
---|---|---|
committer | Colleen Murphy <colleen@gazlene.net> | 2018-11-06 17:28:50 +0100 |
commit | 8cb5e76bcc25327df9f938b917b622e48e9ef69f (patch) | |
tree | 76dca85eb50c82dbd5f3ff5d495ce85ac2ca902b | |
parent | 55979dccd7da4cbf76af6fc2db12b99daef0d3d1 (diff) | |
download | python-keystoneclient-8cb5e76bcc25327df9f938b917b622e48e9ef69f.tar.gz |
Use python3 for functional tests
Switch to python3 for the tox basepython and for the devstack setup for
functional tests to fulfill the python3-first goal[1]. We still have
unit test coverage for python2.
[1] https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: If82196ce6a2fffe6a43bb59077c6bdd712276958
-rw-r--r-- | .zuul.yaml | 2 | ||||
-rw-r--r-- | tox.ini | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,8 @@ - openstack/python-keystoneclient vars: tox_envlist: functional + devstack_localrc: + USE_PYTHON3: True - project: templates: @@ -50,6 +50,7 @@ basepython = python3 commands = oslo_debug_helper -t keystoneclient/tests {posargs} [testenv:functional] +basepython = python3 setenv = {[testenv]setenv} OS_TEST_PATH=./keystoneclient/tests/functional passenv = OS_* |