1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

device_tests: style

This commit is contained in:
matejcik 2018-11-26 17:01:10 +01:00
parent 0d01298f71
commit db1a5adee7

View File

@ -47,5 +47,7 @@ class TestMsgEthereumVerifymessage(TrezorTest):
def test_verify_invalid(self):
self.setup_mnemonic_nopin_nopassphrase()
signature = bytes.fromhex(self.VECTORS[0][1])
res = ethereum.verify_message(self.client, bytes.fromhex(self.ADDRESS), signature, "another message")
assert res == False
res = ethereum.verify_message(
self.client, bytes.fromhex(self.ADDRESS), signature, "another message"
)
assert res is False