Skip to content

Commit

Permalink
Merge pull request #34 from LedgerHQ/y333/update_ragger_tests
Browse files Browse the repository at this point in the history
Y333/update ragger tests
  • Loading branch information
yogh333 authored Oct 1, 2024
2 parents 0e4dce5 + 2d2cb0d commit bacad90
Show file tree
Hide file tree
Showing 229 changed files with 8 additions and 23 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions starknet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ edition = "2021"
authors = ["Ledger"]

[dependencies]
ledger_device_sdk = "1.16.1"
ledger_secure_sdk_sys = { version = "1.4.7", features = ["heap"]}
ledger_device_sdk = "1.17.2"
ledger_secure_sdk_sys = { version = "1.5.0", features = ["heap"]}
include_gif = "1.2.0"
hex = { version = "0.4", default-features = false, features = ["alloc"]}
num-bigint = { version = "0.4", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions starknet/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub fn show_tx(ctx: &mut Ctx) -> Option<bool> {
const APP_ICON: NbglGlyph =
NbglGlyph::from_include(include_gif!("starknet_64x64.gif", NBGL));

let mut review = NbglReview::new()
let review = NbglReview::new()
.tx_type(TransactionType::Transaction)
.titles("Review", "Transaction", "Sign Transaction")
.glyph(&APP_ICON);
Expand Down Expand Up @@ -257,7 +257,7 @@ pub fn show_status(flag: bool, ctx: &mut Ctx) {
}
#[cfg(any(target_os = "stax", target_os = "flex"))]
{
let mut status = NbglReviewStatus::new();
let status = NbglReviewStatus::new();
status.show(flag);
ctx.home.show_and_return();
}
Expand Down
Binary file modified tests/snapshots/flex/test_blind_sign_tx_0/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_0/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_0/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_1/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_1/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_1/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_2/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_2/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_2/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_3/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_3/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_3/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_4/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_4/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_blind_sign_tx_4/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_0/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_0/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_1/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_1/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_2/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_2/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_3/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_clear_sign_tx_3/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_sign_hash_0/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_sign_hash_0/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_sign_hash_0/00002.png
Binary file modified tests/snapshots/flex/test_sign_hash_1/00000.png
Binary file modified tests/snapshots/flex/test_sign_hash_1/00001.png
Binary file modified tests/snapshots/flex/test_sign_hash_1/00002.png
Binary file modified tests/snapshots/flex/test_sign_hash_2/00000.png
Binary file modified tests/snapshots/flex/test_sign_hash_2/00001.png
Binary file modified tests/snapshots/flex/test_sign_hash_2/00002.png
Binary file modified tests/snapshots/flex/test_sign_hash_3/00000.png
Binary file modified tests/snapshots/flex/test_sign_hash_3/00001.png
Binary file modified tests/snapshots/flex/test_sign_hash_3/00002.png
Binary file modified tests/snapshots/flex/test_sign_hash_4/00000.png
Binary file modified tests/snapshots/flex/test_sign_hash_4/00001.png
Binary file modified tests/snapshots/flex/test_sign_hash_4/00002.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_0/00004.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_0/00005.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_0/00006.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_0/00007.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_0/00008.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_0/00009.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_0/00010.png
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_0/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_0/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_1/00004.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_1/00005.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_1/00006.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_1/00007.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_1/00008.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_1/00009.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_1/00010.png
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_1/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_1/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_2/00004.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_2/00005.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_2/00006.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_2/00007.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_2/00008.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_2/00009.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_2/00010.png
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_2/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_2/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_3/00004.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_3/00005.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_3/00006.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_3/00007.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_3/00008.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_3/00009.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_3/00010.png
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_3/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_3/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_4/00004.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_4/00005.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_4/00006.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_4/00007.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_4/00008.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_4/00009.png
Binary file modified tests/snapshots/nanosp/test_blind_sign_tx_4/00010.png
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_4/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanosp/test_blind_sign_tx_4/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_0/00000.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_0/00008.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_0/00009.png
Binary file removed tests/snapshots/nanosp/test_clear_sign_tx_0/00010.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_1/00000.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_1/00008.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_1/00009.png
Binary file removed tests/snapshots/nanosp/test_clear_sign_tx_1/00010.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_2/00000.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_2/00008.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_2/00009.png
Binary file removed tests/snapshots/nanosp/test_clear_sign_tx_2/00010.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_3/00000.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_3/00008.png
Binary file modified tests/snapshots/nanosp/test_clear_sign_tx_3/00009.png
Binary file removed tests/snapshots/nanosp/test_clear_sign_tx_3/00010.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_sign_hash_0/00000.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_0/00003.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_0/00004.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_1/00000.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_1/00003.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_1/00004.png
Binary file removed tests/snapshots/nanosp/test_sign_hash_1/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_sign_hash_2/00000.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_2/00003.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_2/00004.png
Binary file removed tests/snapshots/nanosp/test_sign_hash_2/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_sign_hash_3/00000.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_3/00003.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_3/00004.png
Binary file removed tests/snapshots/nanosp/test_sign_hash_3/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanosp/test_sign_hash_4/00000.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_4/00003.png
Binary file modified tests/snapshots/nanosp/test_sign_hash_4/00004.png
Binary file removed tests/snapshots/nanosp/test_sign_hash_4/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_0/00004.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_0/00005.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_0/00006.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_0/00007.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_0/00008.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_0/00009.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_0/00010.png
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_0/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_0/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_1/00004.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_1/00005.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_1/00006.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_1/00007.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_1/00008.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_1/00009.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_1/00010.png
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_1/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_1/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_2/00004.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_2/00005.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_2/00006.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_2/00007.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_2/00008.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_2/00009.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_2/00010.png
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_2/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_2/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_3/00004.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_3/00005.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_3/00006.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_3/00007.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_3/00008.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_3/00009.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_3/00010.png
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_3/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_3/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_4/00004.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_4/00005.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_4/00006.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_4/00007.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_4/00008.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_4/00009.png
Binary file modified tests/snapshots/nanox/test_blind_sign_tx_4/00010.png
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_4/00011.png
Diff not rendered.
Binary file removed tests/snapshots/nanox/test_blind_sign_tx_4/00012.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_0/00000.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_0/00008.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_0/00009.png
Binary file removed tests/snapshots/nanox/test_clear_sign_tx_0/00010.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_1/00000.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_1/00008.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_1/00009.png
Binary file removed tests/snapshots/nanox/test_clear_sign_tx_1/00010.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_2/00000.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_2/00008.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_2/00009.png
Binary file removed tests/snapshots/nanox/test_clear_sign_tx_2/00010.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_3/00000.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_3/00008.png
Binary file modified tests/snapshots/nanox/test_clear_sign_tx_3/00009.png
Binary file removed tests/snapshots/nanox/test_clear_sign_tx_3/00010.png
Diff not rendered.
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_sign_hash_0/00000.png
Binary file modified tests/snapshots/nanox/test_sign_hash_0/00003.png
Binary file modified tests/snapshots/nanox/test_sign_hash_0/00004.png
Binary file removed tests/snapshots/nanox/test_sign_hash_0/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_sign_hash_1/00000.png
Binary file modified tests/snapshots/nanox/test_sign_hash_1/00003.png
Binary file modified tests/snapshots/nanox/test_sign_hash_1/00004.png
Binary file removed tests/snapshots/nanox/test_sign_hash_1/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_sign_hash_2/00000.png
Binary file modified tests/snapshots/nanox/test_sign_hash_2/00003.png
Binary file modified tests/snapshots/nanox/test_sign_hash_2/00004.png
Binary file removed tests/snapshots/nanox/test_sign_hash_2/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_sign_hash_3/00000.png
Binary file modified tests/snapshots/nanox/test_sign_hash_3/00003.png
Binary file modified tests/snapshots/nanox/test_sign_hash_3/00004.png
Binary file removed tests/snapshots/nanox/test_sign_hash_3/00005.png
Diff not rendered.
Binary file modified tests/snapshots/nanox/test_sign_hash_4/00000.png
Binary file modified tests/snapshots/nanox/test_sign_hash_4/00003.png
Binary file modified tests/snapshots/nanox/test_sign_hash_4/00004.png
Binary file removed tests/snapshots/nanox/test_sign_hash_4/00005.png
Diff not rendered.
Binary file modified tests/snapshots/stax/test_blind_sign_tx_0/00001.png
Binary file modified tests/snapshots/stax/test_blind_sign_tx_1/00001.png
Binary file modified tests/snapshots/stax/test_blind_sign_tx_2/00001.png
Binary file modified tests/snapshots/stax/test_blind_sign_tx_3/00001.png
Binary file modified tests/snapshots/stax/test_blind_sign_tx_4/00001.png
Binary file modified tests/snapshots/stax/test_sign_hash_0/00000.png
Binary file modified tests/snapshots/stax/test_sign_hash_1/00000.png
Binary file modified tests/snapshots/stax/test_sign_hash_2/00000.png
Binary file modified tests/snapshots/stax/test_sign_hash_3/00000.png
Binary file modified tests/snapshots/stax/test_sign_hash_4/00000.png
10 changes: 0 additions & 10 deletions tests/test_blind_sign_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ def test_blind_sign_tx_0(firmware, backend, navigator, test_name):
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
else:
instructions = [
Expand Down Expand Up @@ -106,12 +104,10 @@ def test_blind_sign_tx_1(firmware, backend, navigator, test_name):
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
else:
instructions = [
Expand Down Expand Up @@ -176,12 +172,10 @@ def test_blind_sign_tx_2(firmware, backend, navigator, test_name):
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
else:
instructions = [
Expand Down Expand Up @@ -246,12 +240,10 @@ def test_blind_sign_tx_3(firmware, backend, navigator, test_name):
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
else:
instructions = [
Expand Down Expand Up @@ -316,12 +308,10 @@ def test_blind_sign_tx_4(firmware, backend, navigator, test_name):
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
else:
instructions = [
Expand Down
5 changes: 0 additions & 5 deletions tests/test_sign_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def test_sign_hash_0(firmware, backend, navigator, test_name):
navigator.navigate_and_compare(ROOT_SCREENSHOT_PATH,
test_name,
[NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
Expand Down Expand Up @@ -102,7 +101,6 @@ def test_sign_hash_1(firmware, backend, navigator, test_name):
navigator.navigate_and_compare(ROOT_SCREENSHOT_PATH,
test_name,
[NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
Expand Down Expand Up @@ -168,7 +166,6 @@ def test_sign_hash_2(firmware, backend, navigator, test_name):
navigator.navigate_and_compare(ROOT_SCREENSHOT_PATH,
test_name,
[NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
Expand Down Expand Up @@ -234,7 +231,6 @@ def test_sign_hash_3(firmware, backend, navigator, test_name):
navigator.navigate_and_compare(ROOT_SCREENSHOT_PATH,
test_name,
[NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
Expand Down Expand Up @@ -300,7 +296,6 @@ def test_sign_hash_4(firmware, backend, navigator, test_name):
navigator.navigate_and_compare(ROOT_SCREENSHOT_PATH,
test_name,
[NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK,
NavInsID.BOTH_CLICK])
Expand Down

0 comments on commit bacad90

Please sign in to comment.