From e5a481ded5bf31efdde4b886888f5053aeac94b9 Mon Sep 17 00:00:00 2001 From: matejcik Date: Mon, 8 Mar 2021 10:47:46 +0100 Subject: [PATCH] chore(tests): fix deprecation warnings --- tests/device_tests/test_session_id_and_passphrase.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/device_tests/test_session_id_and_passphrase.py b/tests/device_tests/test_session_id_and_passphrase.py index ff52cd65a2..b4599ce5b8 100644 --- a/tests/device_tests/test_session_id_and_passphrase.py +++ b/tests/device_tests/test_session_id_and_passphrase.py @@ -55,13 +55,13 @@ def _get_xpub(client, passphrase=None): """Get XPUB and check that the appropriate passphrase flow has happened.""" if passphrase is not None: expected_responses = [ - messages.PassphraseRequest(), - messages.ButtonRequest(), - messages.ButtonRequest(), - messages.PublicKey(), + messages.PassphraseRequest, + messages.ButtonRequest, + messages.ButtonRequest, + messages.PublicKey, ] else: - expected_responses = [messages.PublicKey()] + expected_responses = [messages.PublicKey] with client: client.use_passphrase(passphrase or "")