Skip to content

Commit

Permalink
Update test_flows_seed.py
Browse files Browse the repository at this point in the history
Added FlowStep(seed_views.SeedExportXpubQRAskVerifyAddView, screen_return_value=0) to seed flow tests.
  • Loading branch information
fedebuyito authored Dec 21, 2024
1 parent b8b2674 commit 94fef88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_flows_seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def flowtest_standard_xpub(sig_tuple, script_tuple, coord_tuple):
FlowStep(seed_views.SeedExportXpubWarningView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubDetailsView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRDisplayView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRAskVerifyAddView, screen_return_value=0),
FlowStep(scan_views.ScanAddressView, screen_return_value=0),
FlowStep(MainMenuView),
]
Expand Down Expand Up @@ -320,6 +321,7 @@ def test_export_xpub_custom_derivation_flow(self):
FlowStep(seed_views.SeedExportXpubWarningView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubDetailsView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRDisplayView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRAskVerifyAddView, screen_return_value=0),
FlowStep(scan_views.ScanAddressView, screen_return_value=0),
FlowStep(MainMenuView),
]
Expand Down Expand Up @@ -352,6 +354,7 @@ def test_export_xpub_skip_non_option_flow(self):
FlowStep(seed_views.SeedExportXpubWarningView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubDetailsView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRDisplayView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRAskVerifyAddView, screen_return_value=0),
FlowStep(scan_views.ScanAddressView, screen_return_value=0),
FlowStep(MainMenuView),
]
Expand Down Expand Up @@ -384,6 +387,7 @@ def test_export_xpub_electrum_seed_flow(self):
FlowStep(seed_views.SeedExportXpubWarningView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubDetailsView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRDisplayView, screen_return_value=0),
FlowStep(seed_views.SeedExportXpubQRAskVerifyAddView, screen_return_value=0),
FlowStep(scan_views.ScanAddressView, screen_return_value=0),
FlowStep(MainMenuView),
]
Expand Down

0 comments on commit 94fef88

Please sign in to comment.