From ee07b32f52e88a581206f26a7d31d3abdf329067 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 29 Jan 2020 15:46:23 +0100 Subject: [PATCH] python: fix debuglink usage of get_passphrase --- python/src/trezorlib/debuglink.py | 2 +- tests/conftest.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/python/src/trezorlib/debuglink.py b/python/src/trezorlib/debuglink.py index 4e7d4e5390..6cffe3322f 100644 --- a/python/src/trezorlib/debuglink.py +++ b/python/src/trezorlib/debuglink.py @@ -226,7 +226,7 @@ class DebugUI: else: return self.debuglink.read_pin_encoded() - def get_passphrase(self): + def get_passphrase(self, available_on_device): return self.passphrase diff --git a/tests/conftest.py b/tests/conftest.py index 2fceb7ea76..a1c422957d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -129,8 +129,6 @@ def client(request): needs_backup=setup_params["needs_backup"], no_backup=setup_params["no_backup"], ) - if setup_params["passphrase"]: - client.passphrase_on_host = True if setup_params["pin"]: # ClearSession locks the device. We only do that if the PIN is set.