More mocks for more tests

This commit is contained in:
Mouse Reeve
2021-12-09 19:14:10 -08:00
parent 074c2cfb95
commit d9d0919ad4
26 changed files with 30 additions and 27 deletions

View File

@ -28,7 +28,7 @@ class BookViews(TestCase):
self.factory = RequestFactory()
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
"bookwyrm.activitystreams.populate_stream_task.delay"
):
), patch("bookwyrm.lists_stream.populate_lists_task.delay"):
self.local_user = models.User.objects.create_user(
"mouse@local.com",
"mouse@mouse.com",