1
0
Fork 0

fix tests and formatting

This commit is contained in:
Hugh Rundle 2023-04-13 22:33:54 +10:00
parent 56a062d01f
commit 123628c66a
4 changed files with 9 additions and 6 deletions

View file

@ -87,7 +87,7 @@ class Signature(TestCase):
data = json.dumps(get_follow_activity(sender, self.rat))
digest = digest or make_digest(data)
signature = make_signature(
"post", signer or sender, self.rat.inbox, now, digest
"post", signer or sender, self.rat.inbox, now, digest=digest
)
with patch("bookwyrm.views.inbox.activity_task.apply_async"):
with patch("bookwyrm.models.user.set_remote_server.delay"):