summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordobey <dobey>2006-09-21 02:33:26 +0000
committerdobey <dobey>2006-09-21 02:33:26 +0000
commit6a3c5f446f14b987146594ae9e3df81e2186729d (patch)
tree247c995cf0fdcfdea77ee3323e5de4b2c7eeec70
parentcbfac0d065573bc77bf11dc914dc87f1598d48e3 (diff)
2006-09-20 Rodney Dawes <dobey@novell.com>
* python/A11yTestSuite.py (a11y_test_init): Ensure that the language we are running under is en_US.UTF-8 so that all the scripts will work
-rw-r--r--ChangeLog5
-rw-r--r--python/A11yTestUtils.py1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7cd04d0..7f7dce6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-09-20 Rodney Dawes <dobey@novell.com>
+ * python/A11yTestSuite.py (a11y_test_init): Ensure that the language
+ we are running under is en_US.UTF-8 so that all the scripts will work
+
+2006-09-20 Rodney Dawes <dobey@novell.com>
+
* python/A11yTestSuite.py (a11y_test_init): Add support for passing
in arguments to launch the application with
diff --git a/python/A11yTestUtils.py b/python/A11yTestUtils.py
index 3c95b20..cb9d14d 100644
--- a/python/A11yTestUtils.py
+++ b/python/A11yTestUtils.py
@@ -104,6 +104,7 @@ def a11y_scan_window (windowName):
def a11y_test_init (programName, argumentList = ''):
global f
+ os.environ['LANG'] = 'en_US.UTF-8'
f = open (programName + '.html', 'w')
f.write ('<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\">')
f.write ('<html>\n')