[pygobject/pygobject-2-28] Run tests with LC_MESSAGES="C"
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/pygobject-2-28] Run tests with LC_MESSAGES="C"
- Date: Tue, 1 Mar 2011 22:29:20 +0000 (UTC)
commit aaaa00bb4027432503efee88622d9289319b1983
Author: Martin Pitt <martin pitt ubuntu com>
Date: Tue Mar 1 23:26:07 2011 +0100
Run tests with LC_MESSAGES="C"
Some tests, such as tests/test_gdbus.py check parts of error messages or other
visible strings. Ensure that these do not get translated in the test suite.
tests/runtests.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/runtests.py b/tests/runtests.py
index a912414..2bb8637 100644
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -7,6 +7,8 @@ import sys
import unittest
+# force untranslated messages, as we check for them in some tests
+os.environ['LC_MESSAGES'] = 'C'
# Load tests.
if 'TEST_NAMES' in os.environ:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]