mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-01 20:08:26 +00:00
test: try fix test_firmware_upgrades on legacy
[no changelog]
This commit is contained in:
parent
cc49648cf0
commit
f1772c6651
@ -198,6 +198,8 @@ def test_upgrade_wipe_code(gen: str, tag: str):
|
||||
|
||||
# Check that wipe code is set by changing the PIN to it.
|
||||
emu.client.use_pin_sequence([PIN, WIPE_CODE, WIPE_CODE])
|
||||
session = Session(emu.client.get_management_session())
|
||||
session.refresh_features()
|
||||
with pytest.raises(
|
||||
exceptions.TrezorFailure,
|
||||
match="The new PIN must be different from your wipe code",
|
||||
|
Loading…
Reference in New Issue
Block a user