1
0
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:
M1nd3r 2024-11-27 16:59:01 +01:00
parent cc49648cf0
commit f1772c6651

View File

@ -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",