Python formatting

This commit is contained in:
Mouse Reeve
2022-01-12 17:11:24 -08:00
parent 7bb634b71f
commit d1183fd003
3 changed files with 11 additions and 7 deletions

View File

@ -157,7 +157,7 @@ class InboxUpdate(TestCase):
link_data = {
"href": "https://openlibrary.org/books/OL11645413M/Queen_Victoria/daisy",
"mediaType": "Daisy",
"attributedTo": self.remote_user.remote_id
"attributedTo": self.remote_user.remote_id,
}
bookdata["fileLinks"] = [link_data]
@ -169,7 +169,9 @@ class InboxUpdate(TestCase):
)
self.assertFalse(book.file_links.exists())
with patch("bookwyrm.activitypub.base_activity.set_related_field.delay") as mock:
with patch(
"bookwyrm.activitypub.base_activity.set_related_field.delay"
) as mock:
views.inbox.activity_task(
{
"type": "Update",