More mocks

This commit is contained in:
Mouse Reeve
2021-09-06 14:50:33 -07:00
parent bb94995389
commit 72d5238590
20 changed files with 21 additions and 0 deletions

View File

@ -119,6 +119,7 @@ class ReportViews(TestCase):
self.assertFalse(report.resolved)
@patch("bookwyrm.suggested_users.rerank_suggestions_task.delay")
@patch("bookwyrm.activitystreams.populate_stream_task.delay")
@patch("bookwyrm.suggested_users.remove_user_task.delay")
def test_suspend_user(self, *_):
"""toggle whether a user is able to log in"""