Setting language for the python3.6 tox environment

By ensuring the locale is set to US utf-8 we can avoid
encoding errors.

Closes-Bug: https://bugs.launchpad.net/tripleo/+bug/1940313
Change-Id: Ie815a0f0caba3e35a04e9e0e51eec649b09da5a6
This commit is contained in:
Cédric Jeanneret 2021-08-19 07:49:43 +02:00
parent 265146ed2e
commit 2666fbb235

View File

@ -4,7 +4,9 @@ skipsdist = True
envlist = py36,py27,pep8 envlist = py36,py27,pep8
[testenv] [testenv]
setenv = VIRTUAL_ENV={envdir} setenv =
VIRTUAL_ENV={envdir}
LC_ALL=en_US.UTF-8
usedevelop = True usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}