mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-12 22:26:08 +00:00
fixup! chore(tests): adapt testing framework to session based [no changelog]
This commit is contained in:
parent
073aaa8614
commit
2f09430821
@ -339,6 +339,13 @@ def _client_unlocked(
|
|||||||
except cryptography.exceptions.InvalidTag:
|
except cryptography.exceptions.InvalidTag:
|
||||||
# Get a new client
|
# Get a new client
|
||||||
_raw_client = _get_raw_client(request)
|
_raw_client = _get_raw_client(request)
|
||||||
|
|
||||||
|
_raw_client.protocol = None
|
||||||
|
_raw_client.__init__(
|
||||||
|
transport=_raw_client.transport,
|
||||||
|
auto_interact=_raw_client.debug.allow_interactions,
|
||||||
|
)
|
||||||
|
|
||||||
if not _raw_client.features.bootloader_mode:
|
if not _raw_client.features.bootloader_mode:
|
||||||
_raw_client.refresh_features()
|
_raw_client.refresh_features()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user