summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Tantsur <divius.inside@gmail.com>2017-02-15 16:01:43 +0100
committerDmitry Tantsur <divius.inside@gmail.com>2017-06-16 15:27:08 +0000
commitff4be0cd4044a634a8ad04ad50bc97fa625b3305 (patch)
tree9aa7a24ebb8a677b092ea44a2ed716880d20785e
parent0c5156b42336e35c514e199775e9e637f65cb2fa (diff)
downloadironic-ff4be0cd4044a634a8ad04ad50bc97fa625b3305.tar.gz
Explicitly use python 2 for the unit-with-driver-libs tox target
Tox in Fedora 25 uses python 3 by default, and UcsSdk is not compatible with it. Change-Id: Ib67b771bf2277a858f2a621d652bfc3c9254058e (cherry picked from commit 8058716018c1fa55dbba1b03be1e71968e3fc70f)
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 80d175dfe..0cbd765bd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,6 +17,7 @@ commands = ostestr {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:unit-with-driver-libs]
+basepython = python2
deps = {[testenv]deps}
-r{toxinidir}/driver-requirements.txt