From fc93e08767b5a720a4d0c11b2146b1d391701f70 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 3 Aug 2021 11:56:33 -0700 Subject: [PATCH] Fixes missing mocks in suggested user test --- bookwyrm/tests/test_suggested_users.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/tests/test_suggested_users.py b/bookwyrm/tests/test_suggested_users.py index af296624..26b9beee 100644 --- a/bookwyrm/tests/test_suggested_users.py +++ b/bookwyrm/tests/test_suggested_users.py @@ -41,6 +41,8 @@ class SuggestedUsers(TestCase): self.assertEqual(counts["mutuals"], 3) 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, *_): """list of people to follow for a given user"""