mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-07 09:29:04 +00:00
test(core): close _raw_client
in case client()
fixture fails
[no changelog]
This commit is contained in:
parent
a91d18ba2c
commit
f436bcd6fa
@ -282,6 +282,7 @@ def client(
|
||||
|
||||
_raw_client.reset_debug_features()
|
||||
_raw_client.open()
|
||||
try:
|
||||
try:
|
||||
_raw_client.sync_responses()
|
||||
_raw_client.init_device()
|
||||
@ -348,7 +349,7 @@ def client(
|
||||
|
||||
with ui_tests.screen_recording(_raw_client, request):
|
||||
yield _raw_client
|
||||
|
||||
finally:
|
||||
_raw_client.close()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user