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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 31 17:29:20 CEST 2011


Author: gabriel
Date: Thu Mar 31 17:29:20 2011
New Revision: 44928

URL: http://svn.erp5.org?rev=44928&view=rev
Log:
add new step and docstring

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=44928&r1=44927&r2=44928&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py [utf8] Thu Mar 31 17:29:20 2011
@@ -87,6 +87,7 @@ class TestUNGConfiguratorWorkflow(ERP5Ty
      stepConfiguratorNext
      stepTic
      stepCheckConfigureWebSiteForm
+     stepCheckPreferenceConfigurationBrazil
      stepSetupWebSiteConfiguration
      stepConfiguratorNext
      stepTic
@@ -284,8 +285,19 @@ class TestUNGConfiguratorWorkflow(ERP5Ty
     self.assertEquals('Previous', response_dict['previous'])
     self.assertEquals('Configure Web Site', response_dict['next'])
 
+  def stepCheckPreferenceConfigurationBrazil(self, sequence=None, sequence_list=None, **kw):
+    """ Check if organisation was created fine """
+    business_configuration = sequence.get("business_configuration")
+    person_config_save = business_configuration["5"]
+    person_config_item = person_config_save["1"]
+    self.assertEquals(person_config_item.getReference(), "person_creator")
+    person_config_item = person_config_save["2"]
+    self.assertEquals(person_config_item.getReference(), "person_assignee")
+    person_config_item = person_config_save["3"]
+    self.assertEquals(person_config_item.getReference(), "person_assignor")
+
   def stepSetupWebSiteConfiguration(self, sequence=None, sequence_list=None, **kw):
-    """ """
+    """ Setup the language of Web Site """
     next_dict = dict(your_default_available_language="pt-BR")
     sequence.edit(next_dict=next_dict)
 

Modified: erp5/trunk/bt5/erp5_configurator_ung/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator_ung/bt/revision?rev=44928&r1=44927&r2=44928&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_ung/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_ung/bt/revision [utf8] Thu Mar 31 17:29:20 2011
@@ -1 +1 @@
-24
\ No newline at end of file
+25
\ No newline at end of file



More information about the Erp5-report mailing list