tests: fix signature of device.recover in expect-to-fail tests

pull/25/head
matejcik 6 years ago
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…
Cancel
Save