Commit f7bb4431 authored by Gabriel Monnerat's avatar Gabriel Monnerat

continuation of r44753. Add more steps

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44754 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 87a36718
......@@ -88,6 +88,8 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase):
stepConfiguratorNext
stepTic
stepCheckConfigureWebSiteForm
stepSetupWebSiteConfiguration
stepTic
"""
def getBusinessTemplateList(self):
......@@ -274,6 +276,18 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase):
self.assertEquals('Previous', response_dict['previous'])
self.assertEquals('Configure Web Site', response_dict['next'])
def stepSetupWebSiteConfiguration(self, sequence=None, sequence_list=None, **kw):
""" """
next_dict = dict(your_default_available_language="pt-BR")
sequence.edit(next_dict=next_dict)
def stepCheckConfigureInstallationForm(self, sequence=None, sequence_list=None, **kw):
""" Check the installation form """
response_dict = sequence.get("response_dict")
self.assertEquals('show', response_dict['command'])
self.assertEquals('Previous', response_dict['previous'])
self.assertEquals('Install', response_dict['next'])
def test_standard_workflow_brazil(self):
""" Test the standard workflow with brazilian configuration """
sequence_list = SequenceList()
......
18
\ No newline at end of file
19
\ No newline at end of file
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