mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
tests: fix signature of device.recover in expect-to-fail tests
This commit is contained in:
parent
1d3fa77ab6
commit
8618f44272
@ -204,5 +204,13 @@ class TestMsgRecoverydevice(TrezorTest):
|
||||
|
||||
def test_already_initialized(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
with pytest.raises(Exception):
|
||||
device.recover(self.client, 12, False, False, "label", "english")
|
||||
with pytest.raises(RuntimeError):
|
||||
device.recover(
|
||||
self.client,
|
||||
12,
|
||||
False,
|
||||
False,
|
||||
"label",
|
||||
"english",
|
||||
self.client.mnemonic_callback,
|
||||
)
|
||||
|
@ -109,5 +109,13 @@ class TestMsgRecoverydeviceT2(TrezorTest):
|
||||
|
||||
def test_already_initialized(self):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
with pytest.raises(Exception):
|
||||
device.recover(self.client, 12, False, False, "label", "english")
|
||||
with pytest.raises(RuntimeError):
|
||||
device.recover(
|
||||
self.client,
|
||||
12,
|
||||
False,
|
||||
False,
|
||||
"label",
|
||||
"english",
|
||||
self.client.mnemonic_callback,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user