Updates mocks across tests
This commit is contained in:
parent
f71ef286b6
commit
e6a251fdad
57 changed files with 253 additions and 212 deletions
|
@ -41,7 +41,7 @@ class DiscoverViews(TestCase):
|
|||
self.assertEqual(result.status_code, 200)
|
||||
result.render()
|
||||
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay")
|
||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async")
|
||||
@patch("bookwyrm.activitystreams.add_status_task.delay")
|
||||
def test_discover_page(self, *_):
|
||||
"""there are so many views, this just makes sure it LOADS"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue