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

Method test_find_available_locales

tests/TestUnix.py:110–115  ·  view source on GitHub ↗

Unit test for method find_available_locales()

(self)

Source from the content-addressed store, hash-verified

108
109 @common.skipIfWindows
110 def test_find_available_locales(self):
111 """Unit test for method find_available_locales()"""
112 locales = find_available_locales()
113 self.assertIsInstance(locales, list)
114 for locale in locales:
115 self.assertIsLanguageCode(locale)
116
117 def test_find_available_locales_mock(self):
118 """Unit test for method find_available_locales() with mock"""

Callers

nothing calls this directly

Calls 2

find_available_localesFunction · 0.90
assertIsLanguageCodeMethod · 0.80

Tested by

no test coverage detected