[Erp5-report] r44754 gabriel - in /erp5/trunk/bt5/erp5_configurator_ung: TestTemplateItem/ bt/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 29 22:27:41 CEST 2011


Author: gabriel
Date: Tue Mar 29 22:27:40 2011
New Revision: 44754

URL: http://svn.erp5.org?rev=44754&view=rev
Log:
continuation of r44753. Add more steps

Modified:
    erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py
    erp5/trunk/bt5/erp5_configurator_ung/bt/revision

Modified: erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py?rev=44754&r1=44753&r2=44754&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py [utf8] Tue Mar 29 22:27:40 2011
@@ -88,6 +88,8 @@ class TestUNGConfiguratorWorkflow(ERP5Ty
      stepConfiguratorNext
      stepTic
      stepCheckConfigureWebSiteForm
+     stepSetupWebSiteConfiguration
+     stepTic
   """
 
   def getBusinessTemplateList(self):
@@ -274,6 +276,18 @@ class TestUNGConfiguratorWorkflow(ERP5Ty
     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()

Modified: erp5/trunk/bt5/erp5_configurator_ung/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator_ung/bt/revision?rev=44754&r1=44753&r2=44754&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_ung/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_ung/bt/revision [utf8] Tue Mar 29 22:27:40 2011
@@ -1 +1 @@
-18
\ No newline at end of file
+19
\ No newline at end of file



More information about the Erp5-report mailing list