More mocks
This commit is contained in:
parent
bb94995389
commit
72d5238590
20 changed files with 21 additions and 0 deletions
|
@ -51,6 +51,7 @@ class UserAdminViews(TestCase):
|
|||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
@patch("bookwyrm.suggested_users.rerank_suggestions_task.delay")
|
||||
@patch("bookwyrm.activitystreams.populate_stream_task.delay")
|
||||
@patch("bookwyrm.suggested_users.remove_user_task.delay")
|
||||
def test_user_admin_page_post(self, *_):
|
||||
"""set the user's group"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue