Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_auth_backends: Remove unused return.

Zixuan James Lia09c9a406325
diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.py
index 4d32fbb2998..bee1719444f 100644
--- a/zerver/tests/test_auth_backends.py
+++ b/zerver/tests/test_auth_backends.py
@@ -3274,7 +3274,7 @@ class AppleAuthBackendNativeFlowTest(AppleAuthMixin, SocialAuthBase):
)
with self.apple_jwk_url_mock(), self.assertLogs(self.logger_string, level="INFO") as m:
- result = self.client_get(url, **headers)
+ self.client_get(url, **headers)
self.assertEqual(
m.output,
@@ -3285,7 +3285,6 @@ class AppleAuthBackendNativeFlowTest(AppleAuthMixin, SocialAuthBase):
)
],
)
- return result
def test_social_auth_desktop_success(self) -> None:
"""