From 201297a1f9da39901cce73784e348601b14f5f10 Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 22 Jun 2018 14:17:59 +0200 Subject: [PATCH] tests: close debuglink in fixture-based tests --- trezorlib/tests/device_tests/conftest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/trezorlib/tests/device_tests/conftest.py b/trezorlib/tests/device_tests/conftest.py index 5754eeb327..ecca700208 100644 --- a/trezorlib/tests/device_tests/conftest.py +++ b/trezorlib/tests/device_tests/conftest.py @@ -56,6 +56,11 @@ def client(): 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): if mnemonic is None: