diff options
author | Paul Belanger <pabelanger@redhat.com> | 2016-02-24 14:45:16 -0500 |
---|---|---|
committer | Paul Belanger <pabelanger@redhat.com> | 2016-02-24 14:45:16 -0500 |
commit | adc3177d1f0ba56e711e1fc7d408d99459645bc4 (patch) | |
tree | 13ea0f123ee2feab73e00d7ed2a71397fef25b3d /tox.ini | |
parent | 689ce4738dd196ec5f22b9a6ec7c90e75502667a (diff) | |
download | python-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.ini | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |