another round of mocks
This commit is contained in:
parent
59400511c9
commit
2653458e56
11 changed files with 38 additions and 61 deletions
|
@ -83,7 +83,8 @@ class InboxUpdate(TestCase):
|
|||
self.assertEqual(book_list.remote_id, "https://example.com/list/22")
|
||||
|
||||
@patch("bookwyrm.suggested_users.rerank_user_task.delay")
|
||||
def test_update_user(self, _):
|
||||
@patch("bookwyrm.activitystreams.add_user_statuses_task.delay")
|
||||
def test_update_user(self, *_):
|
||||
"""update an existing user"""
|
||||
models.UserFollows.objects.create(
|
||||
user_subject=self.local_user,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue