mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 01:50:34 +00:00
Python formatting
This commit is contained in:
parent
04476d253e
commit
c16312b068
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue