1
0

wizard: make start() kwarg-only

I want to see where initial_data arg is actually set from.
Looks like hardly anywhere(?)
It is really hard to see because the wizard is crazy-dynamic, there's polymorphism and mixins everywhere.
This commit is contained in:
SomberNight
2025-08-15 20:35:29 +00:00
parent 392400295e
commit 43987c5ca0
2 changed files with 5 additions and 5 deletions

View File

@@ -140,7 +140,7 @@ 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({'wallet_type': wallet_type})
v = w.start(initial_data={'wallet_type': wallet_type})
self.assertEqual('keystore_type', v.view)
d = v.wizard_data
if hww: