Title: [commits] (bkirsch) [15346] Updated failing unit test as part of bug 10880.
Revision
15346
Author
bkirsch
Date
2007-09-21 19:25:27 -0700 (Fri, 21 Sep 2007)

Log Message

Updated failing unit test as part of bug 10880. The 'test' locale no longer sets the internal Chandler locale to fr_CA.

Modified Paths

Diff

Modified: trunk/chandler/projects/Chandler-debugPlugin/tests/TestI18n.py (15345 => 15346)

--- trunk/chandler/projects/Chandler-debugPlugin/tests/TestI18n.py	2007-09-21 22:04:15 UTC (rev 15345)
+++ trunk/chandler/projects/Chandler-debugPlugin/tests/TestI18n.py	2007-09-22 02:25:27 UTC (rev 15346)
@@ -91,7 +91,6 @@
         self.assertEquals(txt, u"Hello")
 
         # The 'test' locale is a debug keyword
-        # which sets the locale set to ['fr_CA', 'fr']
         # and enables the testing mode flag.
         # In testing mode all values returned by
         # the I18nManager.getText method insert
@@ -99,7 +98,7 @@
 
         self.i18nMan.setLocaleSet("test")
         txt = self.mf(u"Hello")
-        self.assertEquals(txt, u"(\u00FC): Bonjour")
+        self.assertEquals(txt, u"(\u00FC): Hello")
 
         # Restore the default locale set
         self.i18nMan.setLocaleSet(self.LOCALE_SET)




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to