test_auth_backends: Remove unused self.user_profile.backend.

This was added in d43b031a32 and was
unused when it was added. This is an error that we want to remove.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
Zixuan James Li 2022-07-21 10:18:02 -04:00 committed by Tim Abbott
parent 4493f74507
commit 7bf58dbede
1 changed files with 0 additions and 1 deletions

View File

@ -880,7 +880,6 @@ class SocialAuthBase(DesktopFlowTestingLib, ZulipTestCase, ABC):
self.name = self.user_profile.full_name
self.backend = self.BACKEND_CLASS
self.backend.strategy = DjangoStrategy(storage=BaseDjangoStorage())
self.user_profile.backend = self.backend
self.logger_string = f"zulip.auth.{self.backend.name}"
# This is a workaround for the fact that Python social auth