Fixes missing mocks in suggested user test

This commit is contained in:
Mouse Reeve 2021-08-03 11:56:33 -07:00
parent 2b6423792c
commit fc93e08767

View file

@ -41,6 +41,8 @@ class SuggestedUsers(TestCase):
self.assertEqual(counts["mutuals"], 3) self.assertEqual(counts["mutuals"], 3)
self.assertEqual(counts["shared_books"], 27) self.assertEqual(counts["shared_books"], 27)
@patch("bookwyrm.suggested_users.rerank_suggestions_task.delay")
@patch("bookwyrm.suggested_users.rerank_user_task.delay")
def test_get_objects_for_store(self, *_): def test_get_objects_for_store(self, *_):
"""list of people to follow for a given user""" """list of people to follow for a given user"""