summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2015-02-18 13:29:48 +0000
committerDaniel Watkins <daniel.watkins@canonical.com>2015-02-18 13:29:48 +0000
commitd47a6e5bf47287c50932812a5b64f763b8abcbe9 (patch)
tree2c4b89f2d8ebf61ebce5b5de4e66b0a598070a03 /tox.ini
parent9c224b8bbe5e133fca00d04d070337ffed23bbd9 (diff)
downloadvyos-cloud-init-d47a6e5bf47287c50932812a5b64f763b8abcbe9.tar.gz
vyos-cloud-init-d47a6e5bf47287c50932812a5b64f763b8abcbe9.zip
Set LC_ALL=C for tox tests.
As Python 3 uses the locale it's running in to determine the encoding it should use by default, we need this to (a) reproduce a problem we're seeing on Azure, and (b) to have tests run consistently between environments.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 686a1e7a..20ba6546 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,6 +11,8 @@ deps =
nose
pep8==1.5.7
pyflakes
+setenv =
+ LC_ALL = C
[testenv:py26]
commands = nosetests {posargs:tests}
@@ -21,3 +23,5 @@ deps =
nose
pep8==1.5.7
pyflakes
+setenv =
+ LC_ALL = C