mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-09 06:50:58 +00:00
tests: add test in resetdevice for combination of display_random and skip_backup
This commit is contained in:
parent
a1ba9db744
commit
16d9d58ee1
@ -147,3 +147,17 @@ class TestMsgResetDeviceSkipbackup(TrezorTest):
|
||||
self.setup_mnemonic_nopin_nopassphrase()
|
||||
ret = self.client.call_raw(proto.BackupDevice())
|
||||
assert isinstance(ret, proto.Failure)
|
||||
|
||||
def test_reset_device_skip_backup_show_entropy_fail(self):
|
||||
ret = self.client.call_raw(
|
||||
proto.ResetDevice(
|
||||
display_random=True,
|
||||
strength=self.strength,
|
||||
passphrase_protection=False,
|
||||
pin_protection=False,
|
||||
language="english",
|
||||
label="test",
|
||||
skip_backup=True,
|
||||
)
|
||||
)
|
||||
assert isinstance(ret, proto.Failure)
|
||||
|
Loading…
Reference in New Issue
Block a user