[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup/tests - testStarter.py:1.7

Chris McDonough cvs-admin at zope.org
Sun Nov 30 11:38:16 EST 2003


Update of /cvs-repository/Zope/lib/python/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv14662/tests

Modified Files:
	testStarter.py 
Log Message:
Use a locale that the test machine knows about to suppress bogus failures.


=== Zope/lib/python/Zope/Startup/tests/testStarter.py 1.6 => 1.7 ===
--- Zope/lib/python/Zope/Startup/tests/testStarter.py:1.6	Fri Oct 31 11:16:34 2003
+++ Zope/lib/python/Zope/Startup/tests/testStarter.py	Sun Nov 30 11:38:15 2003
@@ -88,10 +88,10 @@
         # XXX this almost certainly won't work on all systems
         import locale
         try:
-            conf = self.load_config_text("locale fr_FR")
+            conf = self.load_config_text("locale en_GB")
             starter = ZopeStarter(conf)
             starter.setupLocale()
-            self.assertEqual(locale.getlocale(), ['fr_FR', 'ISO8859-1'])
+            self.assertEqual(locale.getlocale(), ['en_GB', 'ISO8859-1'])
         finally:
             # resest to system-defined locale
             locale.setlocale(locale.LC_ALL, '')




More information about the Zope-Checkins mailing list