From eeb8ae19dbb57258bc112e67e01541099c9b14bb Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 3 Aug 2021 14:05:52 -0700 Subject: [PATCH] Python formatting --- bookwyrm/tests/views/inbox/test_inbox_follow.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bookwyrm/tests/views/inbox/test_inbox_follow.py b/bookwyrm/tests/views/inbox/test_inbox_follow.py index 9adce7ab..d1a4e0d0 100644 --- a/bookwyrm/tests/views/inbox/test_inbox_follow.py +++ b/bookwyrm/tests/views/inbox/test_inbox_follow.py @@ -103,7 +103,9 @@ class InboxRelationships(TestCase): } self.local_user.manually_approves_followers = True - self.local_user.save(broadcast=False, update_fields=["manually_approves_followers"]) + self.local_user.save( + broadcast=False, update_fields=["manually_approves_followers"] + ) with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"): views.inbox.activity_task(activity) @@ -125,7 +127,9 @@ class InboxRelationships(TestCase): def test_undo_follow_request(self): """the requester cancels a follow request""" self.local_user.manually_approves_followers = True - self.local_user.save(broadcast=False, update_fields=["manually_approves_followers"]) + self.local_user.save( + broadcast=False, update_fields=["manually_approves_followers"] + ) with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"): request = models.UserFollowRequest.objects.create( user_subject=self.remote_user, user_object=self.local_user