From ea9e8522164d388653e9feb36134ac245127a5b1 Mon Sep 17 00:00:00 2001 From: jonaswinkler <17569239+jonaswinkler@users.noreply.github.com> Date: Sat, 6 Mar 2021 22:41:35 +0100 Subject: [PATCH] fix a failing test case --- src/documents/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/tests/test_views.py b/src/documents/tests/test_views.py index ccc41666a..7f7a07a61 100644 --- a/src/documents/tests/test_views.py +++ b/src/documents/tests/test_views.py @@ -15,7 +15,7 @@ class TestViews(TestCase): def test_index(self): self.client.force_login(self.user) - for (language_given, language_actual) in [("", "en-US"), ("en-US", "en-US"), ("de", "de"), ("en", "en-US"), ("en-us", "en-US"), ("fr", "fr"), ("jp", "en-US")]: + for (language_given, language_actual) in [("", "en-US"), ("en-US", "en-US"), ("de", "de-DE"), ("en", "en-US"), ("en-us", "en-US"), ("fr", "fr-FR"), ("jp", "en-US")]: if language_given: self.client.cookies.load({settings.LANGUAGE_COOKIE_NAME: language_given}) elif settings.LANGUAGE_COOKIE_NAME in self.client.cookies.keys():