cloud-init/tox.ini
Scott Moser 9cb5cd74fb tox: set LC_ALL=en_US.utf-8 rather than C
this works around an issue in httpretty where it is not able to install
in tox if LC_ALL is set to C.
2015-02-24 11:39:58 -05:00

30 lines
462 B
INI

[tox]
envlist = py26,py27,py34
recreate = True
[testenv]
commands = python -m nose {posargs:tests}
deps =
contextlib2
httpretty>=0.7.1
mock
nose
pep8==1.5.7
pyflakes
# https://github.com/gabrielfalcao/HTTPretty/issues/223
setenv =
LC_ALL = en_US.utf-8
[testenv:py26]
commands = nosetests {posargs:tests}
deps =
contextlib2
httpretty>=0.7.1
mock
nose
pep8==1.5.7
pyflakes
setenv =
LC_ALL = C