forked from mirrors/bookwyrm
Fixes missing mocks in suggested user test
This commit is contained in:
parent
2b6423792c
commit
fc93e08767
1 changed files with 2 additions and 0 deletions
|
@ -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"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue