mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-17 03:25:19 +00:00
Adds mock to list items creation
This commit is contained in:
parent
8382d1a684
commit
a8973336d9
1 changed files with 15 additions and 14 deletions
|
@ -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…
Reference in a new issue