Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_auth_backends: Remove unused self.user_profile.backend.
Zixuan James Li7bf58dbede69
diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.pyindex 0a56bbfd4d2..c4e0c9e918a 100644--- a/zerver/tests/test_auth_backends.py+++ b/zerver/tests/test_auth_backends.py@@ -880,7 +880,6 @@ class SocialAuthBase(DesktopFlowTestingLib, ZulipTestCase, ABC):self.name = self.user_profile.full_nameself.backend = self.BACKEND_CLASSself.backend.strategy = DjangoStrategy(storage=BaseDjangoStorage())- self.user_profile.backend = self.backendself.logger_string = f"zulip.auth.{self.backend.name}"# This is a workaround for the fact that Python social auth