mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Only set LANG=C.UTF8 during install. (#5648)
This commit is contained in:
parent
8334bc908c
commit
7be3414785
5
tox.ini
5
tox.ini
@ -4,12 +4,13 @@ skip_missing_interpreters = True
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv =
|
setenv =
|
||||||
|
PYTHONPATH = {toxinidir}:{toxinidir}/homeassistant
|
||||||
; both temper-python and XBee modules have utf8 in their README files
|
; both temper-python and XBee modules have utf8 in their README files
|
||||||
; which get read in from setup.py. If we don't force our locale to a
|
; which get read in from setup.py. If we don't force our locale to a
|
||||||
; utf8 one, tox's env is reset. And the install of these 2 packages
|
; utf8 one, tox's env is reset. And the install of these 2 packages
|
||||||
; fail.
|
; fail.
|
||||||
LANG=C.UTF-8
|
whitelist_externals = /usr/bin/env
|
||||||
PYTHONPATH = {toxinidir}:{toxinidir}/homeassistant
|
install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages}
|
||||||
commands =
|
commands =
|
||||||
py.test --timeout=30 --duration=10 --cov --cov-report= {posargs}
|
py.test --timeout=30 --duration=10 --cov --cov-report= {posargs}
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user