mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Fixes data encoding for signing tests
This commit is contained in:
parent
cedc79a962
commit
e8ef8f7101
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class Signature(TestCase):
|
|||
digest=None,
|
||||
date=None):
|
||||
now = date or http_date()
|
||||
data = get_follow_data(sender, self.rat)
|
||||
data = json.dumps(get_follow_data(sender, self.rat)).encode('utf-8')
|
||||
digest = digest or make_digest(data)
|
||||
signature = make_signature(
|
||||
signer or sender, self.rat.inbox, now, digest)
|
||||
|
|
Loading…
Reference in a new issue