1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-29 04:08:46 +00:00

tests: close debuglink in fixture-based tests

This commit is contained in:
matejcik 2018-06-22 14:17:59 +02:00
parent 3c1456939c
commit 201297a1f9

View File

@ -56,6 +56,11 @@ def client():
client.transport.session_end() client.transport.session_end()
# XXX debuglink session must also be closed
# client.close accomplishes that for now; going forward, there should
# also be proper session handling for debuglink
client.close()
def setup_client(mnemonic=None, pin='', passphrase=False): def setup_client(mnemonic=None, pin='', passphrase=False):
if mnemonic is None: if mnemonic is None: