Skip to content

Commit

Permalink
Removed superfluous assert on status words
Browse files Browse the repository at this point in the history
Will throw an exception anyway
  • Loading branch information
apaillier-ledger committed Dec 4, 2023
1 parent f1e5393 commit ef2cfa3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_swap.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ def test_swap_exact_eth_for_token(backend, firmware, navigator, test_name):
get_selector_from_data(data)):
pass

assert client.response().status == StatusWord.OK

# send the transaction
with client.sign("m/44'/60'/1'/0/0", {
"nonce": 20,
Expand All @@ -75,5 +73,3 @@ def test_swap_exact_eth_for_token(backend, firmware, navigator, test_name):
"Hold to sign",
ROOT_SCREENSHOT_PATH,
test_name)

assert client.response().status == StatusWord.OK

0 comments on commit ef2cfa3

Please sign in to comment.