27 lines
851 B
Diff
27 lines
851 B
Diff
From a8432ff0499c3832246ad7ffcdf9202dc4f29285 Mon Sep 17 00:00:00 2001
|
|
From: Michael Simacek <msimacek@redhat.com>
|
|
Date: Tue, 14 Mar 2017 11:01:57 +0100
|
|
Subject: [PATCH 4/4] Force locale in tests
|
|
|
|
---
|
|
test/test_common.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/test/test_common.py b/test/test_common.py
|
|
index 9f7c2fd..914e97b 100644
|
|
--- a/test/test_common.py
|
|
+++ b/test/test_common.py
|
|
@@ -16,7 +16,8 @@ from lxml import etree
|
|
DIRPATH = path.dirname(path.realpath(__file__))
|
|
SCRIPT_ENV = {'PATH':'{mock}:{real}'.format(mock=DIRPATH,
|
|
real=os.environ['PATH']),
|
|
- 'PYTHONPATH':os.environ['PYTHONPATH']}
|
|
+ 'PYTHONPATH':os.environ['PYTHONPATH'],
|
|
+ 'LC_ALL': 'C.UTF-8'}
|
|
|
|
|
|
def call_script(name, args, stdin=None, extra_env={}):
|
|
--
|
|
2.9.3
|
|
|