1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 12:08:59 +00:00

device_tests: clarify input_flow for cardano signing

This commit is contained in:
matejcik 2019-01-25 16:21:27 +01:00
parent f4e1da41b7
commit 37dfcf90bf

View File

@ -14,8 +14,6 @@
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
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: