From adc3177d1f0ba56e711e1fc7d408d99459645bc4 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 24 Feb 2016 14:45:16 -0500 Subject: [PATCH] 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 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a21ea995..cc68d315 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