1
0

qt wizard: start: merge "start_viewstate" and "initial_data"

This commit is contained in:
SomberNight
2025-08-15 20:46:24 +00:00
parent 43987c5ca0
commit 14494c13dc
4 changed files with 34 additions and 32 deletions

View File

@@ -140,7 +140,8 @@ class KeystoreWizardTestCase(WizardTestCase):
def _wizard_for(self, *, wallet_type: str = 'standard', hww: bool = False) -> tuple[KeystoreWizard, WizardViewState]:
w = KeystoreWizardTestCase.TKeystoreWizard(self.plugins)
v = w.start(initial_data={'wallet_type': wallet_type})
start_viewstate = WizardViewState('keystore_type', {'wallet_type': wallet_type}, {})
v = w.start(start_viewstate=start_viewstate)
self.assertEqual('keystore_type', v.view)
d = v.wizard_data
if hww: