Commit d78746c2 authored by Romain Courteaud's avatar Romain Courteaud 🐙

[officejs_test] setUpOnce is not called from test component

parent 96ea12a7
......@@ -78,7 +78,7 @@ class testOfficeJSAppstoreMixin(SecurityTestCase):
"""
return getattr(self.getPortal(), 'acl_users', None)
def setUpOnce(self):
def setUpConfiguratorOnce(self):
self.commit()
self.portal.portal_templates.updateRepositoryBusinessTemplateList(
repository_list=self.portal.portal_templates.getRepositoryList())
......@@ -129,6 +129,7 @@ class testOfficeJSAppstoreMixin(SecurityTestCase):
"officejs_appstore_configuration_workflow"]
def launchConfigurator(self):
self.logMessage('OfficeJS Appstore launchConfigurator')
self.login()
# Create new Configuration
business_configuration = self.getBusinessConfiguration()
......@@ -143,10 +144,13 @@ class testOfficeJSAppstoreMixin(SecurityTestCase):
business_configuration,REQUEST=self.portal.REQUEST)
def bootstrapSite(self):
self.logMessage('OfficeJS Appstore bootstrapSite')
self.setupPortalAlarms()
self.clearCache()
self.tic()
self.setUpConfiguratorOnce()
self.tic()
def getBusinessTemplateList(self):
"""
......
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