diff options
author | 2019-10-11 19:47:41 +0100 | |
---|---|---|
committer | 2019-10-11 19:47:41 +0100 | |
commit | 17f3d32c699ef3db4626f21f0859521c95911d50 (patch) | |
tree | f88f35bba383522362d0ba287ff4dac45a66dce1 /pydis_site/apps | |
parent | Signals: `add()` does require a list, a generator won't do. (diff) |
Signals: Fix test for `deletion=True` change
Diffstat (limited to 'pydis_site/apps')
-rw-r--r-- | pydis_site/apps/home/tests/test_signal_listener.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/home/tests/test_signal_listener.py b/pydis_site/apps/home/tests/test_signal_listener.py index b7ad4d6e..2eaaa945 100644 --- a/pydis_site/apps/home/tests/test_signal_listener.py +++ b/pydis_site/apps/home/tests/test_signal_listener.py @@ -246,7 +246,7 @@ class SignalListenerTests(TestCase): # Attempt to remove groups if everything checks out social_account_removed.send(SocialLogin, socialaccount=self.social_user) - mock_obj.assert_called_with(self.discord_user, self.social_user, True) + mock_obj.assert_called_with(self.discord_user, self.social_user, deletion=True) def test_logged_in(self): """Test the user-logged-in Allauth signal handling.""" |