mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
Adds missing mock
This commit is contained in:
parent
3082c4ce5c
commit
cec6943069
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ class BookViews(TestCase):
|
||||||
self.assertEqual(result.status_code, 200)
|
self.assertEqual(result.status_code, 200)
|
||||||
|
|
||||||
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay")
|
@patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay")
|
||||||
def test_book_page_statuses(self, _):
|
@patch("bookwyrm.activitystreams.ActivityStream.add_status")
|
||||||
|
def test_book_page_statuses(self, *_):
|
||||||
"""there are so many views, this just makes sure it LOADS"""
|
"""there are so many views, this just makes sure it LOADS"""
|
||||||
view = views.Book.as_view()
|
view = views.Book.as_view()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue