Updates mocks across tests
This commit is contained in:
parent
f71ef286b6
commit
e6a251fdad
57 changed files with 253 additions and 212 deletions
|
@ -25,7 +25,7 @@ class NotificationViews(TestCase):
|
|||
local=True,
|
||||
localname="mouse",
|
||||
)
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"):
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"):
|
||||
self.status = models.Status.objects.create(
|
||||
content="hi",
|
||||
user=self.local_user,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue