summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColleen Murphy <colleen@gazlene.net>2018-10-28 12:46:30 +0100
committerColleen Murphy <colleen@gazlene.net>2018-11-06 17:28:50 +0100
commit8cb5e76bcc25327df9f938b917b622e48e9ef69f (patch)
tree76dca85eb50c82dbd5f3ff5d495ce85ac2ca902b
parent55979dccd7da4cbf76af6fc2db12b99daef0d3d1 (diff)
downloadpython-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.yaml2
-rw-r--r--tox.ini1
2 files changed, 3 insertions, 0 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index e96674b..dc34dbb 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -7,6 +7,8 @@
- openstack/python-keystoneclient
vars:
tox_envlist: functional
+ devstack_localrc:
+ USE_PYTHON3: True
- project:
templates:
diff --git a/tox.ini b/tox.ini
index a78e103..9582d70 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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_*