Updates activistreams add_status mock

This commit is contained in:
Mouse Reeve
2021-09-06 13:53:49 -07:00
parent d7557926f7
commit a6b0ba1826
25 changed files with 61 additions and 62 deletions

View File

@ -197,7 +197,7 @@ class LibrarythingImport(TestCase):
self.assertEqual(readthrough.start_date, make_date(2007, 4, 16))
self.assertEqual(readthrough.finish_date, make_date(2007, 5, 8))
@patch("bookwyrm.activitystreams.ActivityStream.add_status")
@patch("bookwyrm.activitystreams.add_status_task.delay")
def test_handle_imported_book_review(self, *_):
"""librarything review import"""
import_job = models.ImportJob.objects.create(user=self.user)