Merge branch 'main' into authorized-fetch
This commit is contained in:
commit
f4de00088f
46 changed files with 685 additions and 27 deletions
|
@ -35,6 +35,7 @@ Sender = namedtuple("Sender", ("remote_id", "key_pair"))
|
|||
class Signature(TestCase):
|
||||
"""signature test"""
|
||||
|
||||
# pylint: disable=invalid-name
|
||||
def setUp(self):
|
||||
"""create users and test data"""
|
||||
with patch("bookwyrm.suggested_users.rerank_suggestions_task.delay"), patch(
|
||||
|
@ -88,7 +89,6 @@ class Signature(TestCase):
|
|||
signature = make_signature(
|
||||
"post", signer or sender, self.rat.inbox, now, digest
|
||||
)
|
||||
with patch("bookwyrm.views.inbox.activity_task.delay"):
|
||||
with patch("bookwyrm.models.user.set_remote_server.delay"):
|
||||
return self.send(signature, now, send_data or data, digest)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue