Python formatting

This commit is contained in:
Mouse Reeve 2021-12-30 13:21:38 -08:00
parent 04476d253e
commit c16312b068

View file

@ -348,7 +348,11 @@ class ListViews(TestCase):
view = views.Curate.as_view() view = views.Curate.as_view()
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"): with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"):
models.ListItem.objects.create( models.ListItem.objects.create(
user=self.local_user, book_list=self.list, book=self.book, approved=False, order=1 user=self.local_user,
book_list=self.list,
book=self.book,
approved=False,
order=1,
) )
request = self.factory.get("") request = self.factory.get("")
request.user = self.local_user request.user = self.local_user