diff --git a/bookwyrm/tests/views/test_rss_feed.py b/bookwyrm/tests/views/test_rss_feed.py index a4e473637..714445461 100644 --- a/bookwyrm/tests/views/test_rss_feed.py +++ b/bookwyrm/tests/views/test_rss_feed.py @@ -130,7 +130,9 @@ class RssFeedView(TestCase): def test_rss_shelf(self, *_): """load the rss feed of a shelf""" - with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"): + with patch( + "bookwyrm.models.activitypub_mixin.broadcast_task.apply_async" + ), patch("bookwyrm.activitystreams.add_book_statuses_task.delay"): # make the shelf shelf = models.Shelf.objects.create( name="Test Shelf", identifier="test-shelf", user=self.local_user