summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2016-02-24 14:45:16 -0500
committerPaul Belanger <pabelanger@redhat.com>2016-02-24 14:45:16 -0500
commitadc3177d1f0ba56e711e1fc7d408d99459645bc4 (patch)
tree13ea0f123ee2feab73e00d7ed2a71397fef25b3d /tox.ini
parent689ce4738dd196ec5f22b9a6ec7c90e75502667a (diff)
downloadpython-swiftclient-adc3177d1f0ba56e711e1fc7d408d99459645bc4.tar.gz
Have tox manage LANG environmental var
We need to do this because some of the py34 testing that python-swiftclient uses depends on this variable. The reason we don't see the issue in the gate, is because current bare-trusty images have this set on the jenkins shell user. When we move to just using DIBs, the variable won't be setup by default and python3 tests will fail. For more information: https://review.openstack.org/282898 Change-Id: Id9017f31b0543bccac9c07b83237b909e2bd2b0c Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index a21ea99..cc68d31 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,9 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
-setenv = VIRTUAL_ENV={envdir}
+setenv =
+ LANG=en_US.utf8
+ VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt