MCPcopy
hub / github.com/django/django / test_non_django_language

Method test_non_django_language

tests/i18n/tests.py:2163–2165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2161 LOCALE_PATHS=[os.path.join(here, "commands", "locale")],
2162 )
2163 def test_non_django_language(self):
2164 self.assertEqual(get_language(), "xxx")
2165 self.assertEqual(gettext("year"), "reay")
2166
2167 @override_settings(USE_I18N=True)
2168 def test_check_for_language(self):

Callers

nothing calls this directly

Calls 2

get_languageFunction · 0.90
gettextFunction · 0.90

Tested by

no test coverage detected