mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-29 02:48:18 +00:00
test: fix test_msg_wipedevice locking in test_autolock_not_retained
[no changelog]
This commit is contained in:
parent
58158375d1
commit
fdde77868a
@ -43,13 +43,13 @@ def test_wipe_device(client: Client):
|
||||
|
||||
|
||||
@pytest.mark.setup_client(pin=PIN4)
|
||||
def test_autolock_not_retained(client: Client):
|
||||
session = client.get_session()
|
||||
def test_autolock_not_retained(session: Session):
|
||||
client = session.client
|
||||
with client:
|
||||
client.use_pin_sequence([PIN4])
|
||||
device.apply_settings(session, auto_lock_delay_ms=10_000)
|
||||
|
||||
assert client.features.auto_lock_delay_ms == 10_000
|
||||
assert session.features.auto_lock_delay_ms == 10_000
|
||||
|
||||
device.wipe(session)
|
||||
client = client.get_new_client()
|
||||
|
Loading…
Reference in New Issue
Block a user