diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py index ca70d81f41..4302e01fda 100644 --- a/tests/i18n/tests.py +++ b/tests/i18n/tests.py @@ -1801,7 +1801,7 @@ class NonDjangoLanguageTests(SimpleTestCase): self.assertEqual(gettext("year"), "reay") @override_settings(USE_I18N=True) - def test_check_for_langauge(self): + def test_check_for_language(self): with tempfile.TemporaryDirectory() as app_dir: os.makedirs(os.path.join(app_dir, 'locale', 'dummy_Lang', 'LC_MESSAGES')) open(os.path.join(app_dir, 'locale', 'dummy_Lang', 'LC_MESSAGES', 'django.mo'), 'w').close() diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py index 1362bc2911..2bff4faefd 100644 --- a/tests/view_tests/tests/test_i18n.py +++ b/tests/view_tests/tests/test_i18n.py @@ -157,7 +157,7 @@ class SetLanguageTests(TestCase): self.assertEqual(response.url, '/') self.assertEqual(self.client.cookies[settings.LANGUAGE_COOKIE_NAME].value, lang_code) - def test_session_langauge_deprecation(self): + def test_session_language_deprecation(self): msg = ( 'The user language will no longer be stored in request.session ' 'in Django 4.0. Read it from '