MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / test_get_text_au

Method test_get_text_au

tests/TestLanguage.py:112–120  ·  view source on GitHub ↗

Test Australian English It should not get confused with American English.

(self)

Source from the content-addressed store, hash-verified

110
111 @skipIfMissingPo
112 def test_get_text_au(self):
113 """Test Australian English
114
115 It should not get confused with American English.
116 """
117 options.set('forced_language', 'en_AU')
118 self.assertEqual(get_active_language_code(), 'en_AU')
119 setup_translation()
120 self.assertEqual(get_text('Localizations'), 'Localisations')
121
122 @skipIfMissingPo
123 def test_get_text_fallback(self):

Callers

nothing calls this directly

Calls 4

get_active_language_codeFunction · 0.90
setup_translationFunction · 0.90
get_textFunction · 0.90
setMethod · 0.45

Tested by

no test coverage detected