mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-30 04:38:44 +00:00
device_tests: style
This commit is contained in:
parent
0d01298f71
commit
db1a5adee7
@ -47,5 +47,7 @@ class TestMsgEthereumVerifymessage(TrezorTest):
|
|||||||
def test_verify_invalid(self):
|
def test_verify_invalid(self):
|
||||||
self.setup_mnemonic_nopin_nopassphrase()
|
self.setup_mnemonic_nopin_nopassphrase()
|
||||||
signature = bytes.fromhex(self.VECTORS[0][1])
|
signature = bytes.fromhex(self.VECTORS[0][1])
|
||||||
res = ethereum.verify_message(self.client, bytes.fromhex(self.ADDRESS), signature, "another message")
|
res = ethereum.verify_message(
|
||||||
assert res == False
|
self.client, bytes.fromhex(self.ADDRESS), signature, "another message"
|
||||||
|
)
|
||||||
|
assert res is False
|
||||||
|
Loading…
Reference in New Issue
Block a user