Formatting

This commit is contained in:
Mouse Reeve 2021-03-13 15:36:00 -08:00
parent 6490a55274
commit 54682d6f5c

View file

@ -281,8 +281,7 @@ class Inbox(TestCase):
self.local_user.save(broadcast=False)
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"):
request = models.UserFollowRequest.objects.create(
user_subject=self.remote_user,
user_object=self.local_user
user_subject=self.remote_user, user_object=self.local_user
)
self.assertTrue(self.local_user.follower_requests.exists())
@ -299,7 +298,7 @@ class Inbox(TestCase):
"type": "Follow",
"actor": "https://example.com/users/rat",
"object": "https://example.com/user/mouse",
}
},
}
views.inbox.activity_task(activity)