mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-26 18:02:35 +00:00
device_tests: clarify input_flow for cardano signing
This commit is contained in:
parent
f4e1da41b7
commit
37dfcf90bf
@ -14,8 +14,6 @@
|
|||||||
# You should have received a copy of the License along with this library.
|
# 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>.
|
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
||||||
|
|
||||||
import time
|
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from trezorlib import cardano, messages
|
from trezorlib import cardano, messages
|
||||||
@ -136,12 +134,11 @@ def test_cardano_sign_tx(
|
|||||||
]
|
]
|
||||||
|
|
||||||
def input_flow():
|
def input_flow():
|
||||||
client.debug.swipe_down()
|
|
||||||
yield
|
yield
|
||||||
|
client.debug.swipe_down()
|
||||||
client.debug.press_yes()
|
client.debug.press_yes()
|
||||||
time.sleep(1)
|
|
||||||
client.debug.swipe_down()
|
|
||||||
yield
|
yield
|
||||||
|
client.debug.swipe_down()
|
||||||
client.debug.press_yes()
|
client.debug.press_yes()
|
||||||
|
|
||||||
with client:
|
with client:
|
||||||
|
Loading…
Reference in New Issue
Block a user