We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb820cf commit a1ef083Copy full SHA for a1ef083
accounts/test_login.py
@@ -134,7 +134,9 @@ def test_server_flow_user_data_failure(self):
134
FakeFlow.EMAIL = "[email protected]"
135
FakeFlow.RAISE_EXCEPTION = True
136
137
- response = self.client.get("/accounts/google-sso/?code=x")
+ response = self.client.get(
138
+ "/accounts/google-sso/?code=x", headers={"accept-language": "de"}
139
+ )
140
self.assertRedirects(response, "/accounts/login/")
141
self.assertEqual(
142
messages(response),
app/settings.py
@@ -35,7 +35,7 @@
35
SECRET_KEY = env("SECRET_KEY", required=True)
36
37
TIME_ZONE = "Europe/Zurich"
38
-LANGUAGE_CODE = "de"
+LANGUAGE_CODE = "en"
39
LANGUAGES = (
40
("en", _("English")),
41
("de", _("German")),
0 commit comments