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: #1940313

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I42b45b5f0ccb4746c83da20cf5be7ef3066a861a
This commit is contained in:
Jiri Podivin 2021-08-19 08:11:35 +02:00
parent f5f66cd88a
commit 580139d2f2

View File

@ -14,6 +14,8 @@ deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}' commands = python setup.py testr --slowest --testr-args='{posargs}'
setenv =
LC_ALL=en_US.UTF-8
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}