mirror of https://github.com/nucypher/nucypher.git
Update test for EIP712 authentication when address from signature does not match expected address.
parent
aa00d3aeb8
commit
607e667350
|
@ -56,7 +56,9 @@ def test_authenticate_eip712(valid_eip712_auth_message, get_random_checksum_addr
|
|||
)
|
||||
|
||||
# mismatch with expected address
|
||||
with pytest.raises(EvmAuth.AuthenticationFailed):
|
||||
with pytest.raises(
|
||||
EvmAuth.AuthenticationFailed, match="signature not valid for expected address"
|
||||
):
|
||||
EIP712Auth.authenticate(
|
||||
data=data,
|
||||
signature=signature,
|
||||
|
|
Loading…
Reference in New Issue