Adds mock to list items creation
This commit is contained in:
parent
8382d1a684
commit
a8973336d9
@ -69,6 +69,7 @@ class ListActionViews(TestCase):
|
||||
|
||||
def test_delete_list(self):
|
||||
"""delete an entire list"""
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"):
|
||||
models.ListItem.objects.create(
|
||||
book_list=self.list,
|
||||
user=self.local_user,
|
||||
|
Loading…
x
Reference in New Issue
Block a user