mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-26 05:27:38 +00:00
fix assert
This commit is contained in:
parent
992314471e
commit
0432b7d42f
@ -34,7 +34,8 @@ def test_create_certificate(reactor):
|
||||
alice_cert = json.loads(alice_cert_bytes)
|
||||
|
||||
# confirm that alice's certificate is made by the Grid Manager
|
||||
assert pubkey.verify(
|
||||
# (.verify returns None on success, raises exception on error)
|
||||
pubkey.verify(
|
||||
base32.a2b(alice_cert['signature'].encode('ascii')),
|
||||
alice_cert['certificate'].encode('ascii'),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user