From 37dfcf90bf6d0cf36ef7400d7dd97d5a4bfc4da5 Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 25 Jan 2019 16:21:27 +0100 Subject: [PATCH] device_tests: clarify input_flow for cardano signing --- .../device_tests/test_msg_cardano_sign_transaction.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/trezorlib/tests/device_tests/test_msg_cardano_sign_transaction.py b/trezorlib/tests/device_tests/test_msg_cardano_sign_transaction.py index dc5ca7e04..37c5392dc 100644 --- a/trezorlib/tests/device_tests/test_msg_cardano_sign_transaction.py +++ b/trezorlib/tests/device_tests/test_msg_cardano_sign_transaction.py @@ -14,8 +14,6 @@ # You should have received a copy of the License along with this library. # If not, see . -import time - import pytest from trezorlib import cardano, messages @@ -136,12 +134,11 @@ def test_cardano_sign_tx( ] def input_flow(): - client.debug.swipe_down() yield + client.debug.swipe_down() client.debug.press_yes() - time.sleep(1) - client.debug.swipe_down() yield + client.debug.swipe_down() client.debug.press_yes() with client: