Port scenario review in 'test_clone'

This commit is contained in:
Charles-Edouard de la Vergne
2024-04-16 23:49:43 +02:00
parent a05acddc88
commit d48d495eea
2 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -4,6 +4,7 @@ from web3 import Web3
from ragger.backend import BackendInterface
from ragger.firmware import Firmware
from ragger.navigator import Navigator
from ragger.navigator.navigation_scenario import NavigateWithScenario
from test_sign import common
@@ -21,6 +22,7 @@ VALUE = 0.31415
def test_clone_thundercore(firmware: Firmware,
backend: BackendInterface,
navigator: Navigator,
scenario_navigator: NavigateWithScenario,
default_screenshot_path: Path,
test_name: str):
tx_params: dict = {
@@ -31,4 +33,4 @@ def test_clone_thundercore(firmware: Firmware,
"value": Web3.to_wei(VALUE, "ether"),
"chainId": 108
}
common(firmware, backend, navigator, default_screenshot_path, tx_params, test_name, BIP32_PATH)
common(firmware, backend, navigator, scenario_navigator, default_screenshot_path, tx_params, test_name, BIP32_PATH)