mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Remove unnecessary patch
This commit is contained in:
@@ -30,13 +30,12 @@ class TestViewFlows(FlowTest):
|
|||||||
"""
|
"""
|
||||||
Basic flow from MainMenuView to PowerOffView
|
Basic flow from MainMenuView to PowerOffView
|
||||||
"""
|
"""
|
||||||
with patch.object(Settings, 'HOSTNAME', return_value=Settings.SEEDSIGNER_OS):
|
self.run_sequence([
|
||||||
self.run_sequence([
|
FlowStep(MainMenuView, screen_return_value=RET_CODE__POWER_BUTTON),
|
||||||
FlowStep(MainMenuView, screen_return_value=RET_CODE__POWER_BUTTON),
|
FlowStep(PowerOptionsView, button_data_selection=PowerOptionsView.POWER_OFF),
|
||||||
FlowStep(PowerOptionsView, button_data_selection=PowerOptionsView.POWER_OFF),
|
FlowStep(PowerOffView), # returns BackStackView
|
||||||
FlowStep(PowerOffView), # returns BackStackView
|
FlowStep(PowerOptionsView),
|
||||||
FlowStep(PowerOptionsView),
|
])
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
def test_not_yet_implemented_flow(self):
|
def test_not_yet_implemented_flow(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user