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

@ -32,6 +32,7 @@ class DirectoryViews(TestCase):
self.anonymous_user.is_authenticated = False
@patch("bookwyrm.suggested_users.rerank_suggestions_task.delay")
@patch("bookwyrm.activitystreams.populate_stream_task.delay")
@patch("bookwyrm.suggested_users.rerank_user_task.delay")
def test_directory_page(self, *_):
"""there are so many views, this just makes sure it LOADS"""