[Freeipa-devel] [PATCH] Fix i18n related failures in unit tests.

Rob Crittenden rcritten at redhat.com
Thu Feb 17 03:50:38 UTC 2011


Pavel Zůna wrote:
> Fixes unit test failures cause by the changes introduced in my other
> localization related patches.
>
> Pavel

I don't understand this change, isn't the point to test other languages?

-    request.set_languages('en_US.UTF-8')
+    # request.set_languages('en_US.UTF-8')

      # Tell gettext that our domain is 'ipa', that locale_dir is
      # 'test_locale' (i.e. where to look for the message catalog)
@@ -117,7 +117,6 @@ def test_gettext():

      # Reset the language and assure we don't get the test values
      context.__dict__.clear()
-    request.set_languages('fr_FR')





More information about the Freeipa-devel mailing list