Commit fe7622fd authored by Rafael Monnerat's avatar Rafael Monnerat

Add getBusinessConfiguration to make launch more generic.

parent 385f4a4d
...@@ -150,10 +150,14 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -150,10 +150,14 @@ class testSlapOSMixin(ERP5TypeTestCase):
self.portal.email_from_address = 'romain@nexedi.com' self.portal.email_from_address = 'romain@nexedi.com'
self.portal.email_to_address = 'romain@nexedi.com' self.portal.email_to_address = 'romain@nexedi.com'
def getBusinessConfiguration(self):
return self.portal.business_configuration_module[\
"slapos_master_configuration_workflow"]
def launchConfigurator(self): def launchConfigurator(self):
self.login() self.login()
# Create new Configuration # Create new Configuration
business_configuration = self.portal.business_configuration_module["slapos_master_configuration_workflow"] business_configuration = self.getBusinessConfiguration()
response_dict = {} response_dict = {}
while response_dict.get("command", "next") != "install": while response_dict.get("command", "next") != "install":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment