mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 05:03:07 +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):
|
def test_already_initialized(self):
|
||||||
self.setup_mnemonic_nopin_nopassphrase()
|
self.setup_mnemonic_nopin_nopassphrase()
|
||||||
with pytest.raises(Exception):
|
with pytest.raises(RuntimeError):
|
||||||
device.recover(self.client, 12, False, False, "label", "english")
|
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):
|
def test_already_initialized(self):
|
||||||
self.setup_mnemonic_nopin_nopassphrase()
|
self.setup_mnemonic_nopin_nopassphrase()
|
||||||
with pytest.raises(Exception):
|
with pytest.raises(RuntimeError):
|
||||||
device.recover(self.client, 12, False, False, "label", "english")
|
device.recover(
|
||||||
|
self.client,
|
||||||
|
12,
|
||||||
|
False,
|
||||||
|
False,
|
||||||
|
"label",
|
||||||
|
"english",
|
||||||
|
self.client.mnemonic_callback,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user