#NEWLINE# def test_amo_locale_not_in_django( ) : #NEWLINE# #INDENT# "\n    We load gettext catalogs in this order:\n        django/locale/django.po\n        amo/locale/django.po\n\n    If Django doesn't have a locale, it returns the en-us catalog as a\n    fallback.  But then we take that catalog and merge in our z-messages.po.\n    That's no good because we just mixed some other locale into en-us.\n\n    This test will be invalid once Django gets an mn locale.\n    " #NEWLINE# activate ( 'mn' ) #NEWLINE# en = trans_real . _translations [ 'en-US' ] #NEWLINE# mn = trans_real . _translations [ 'mn' ] #NEWLINE# assert ( en != mn ) #NEWLINE# assert ( en . _catalog != mn . _catalog )