mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Update test_signing.py
This commit is contained in:
parent
f4de00088f
commit
9be2f00064
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ class Signature(TestCase):
|
||||||
signature = make_signature(
|
signature = make_signature(
|
||||||
"post", signer or sender, self.rat.inbox, now, digest
|
"post", signer or sender, self.rat.inbox, now, digest
|
||||||
)
|
)
|
||||||
|
with patch("bookwyrm.views.inbox.activity_task.apply_async"):
|
||||||
with patch("bookwyrm.models.user.set_remote_server.delay"):
|
with patch("bookwyrm.models.user.set_remote_server.delay"):
|
||||||
return self.send(signature, now, send_data or data, digest)
|
return self.send(signature, now, send_data or data, digest)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue