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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 30 03:51:22 CEST 2011


Author: gabriel
Date: Wed Mar 30 03:51:21 2011
New Revision: 44763

URL: http://svn.erp5.org?rev=44763&view=rev
Log:
fix syntax and add assert

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=44763&r1=44762&r2=44763&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_ung/TestTemplateItem/testUNGConfigurationWorkflow.py [utf8] Wed Mar 30 03:51:21 2011
@@ -219,9 +219,10 @@ class TestUNGConfiguratorWorkflow(ERP5Ty
     self.assertCurrentStep('Configuration of users', response_dict)
 
   def stepCheckUserAccountNumberThree(self, sequence=None, sequence_list=None, **kw):
-    """ """
+    """ Check user amount """
     business_configuration = sequence.get("business_configuration")
-    organisation_config_save = business_configuration['3']
+    number_config_save = business_configuration['4']
+    self.asserEquals(self.number_config_save["user_number"], "3")
  
   def stepSetupMultipleUserAccountThree(self, sequence=None, sequence_list=None, **kw):
     """ Create multiple user account """
@@ -232,8 +233,7 @@ class TestUNGConfiguratorWorkflow(ERP5Ty
         field_your_reference="person_creator",
         field_your_password='person_creator',
         field_your_password_confirm='person_creator',
-        field_your_default_email_
-text='test at test.com',
+        field_your_default_email_text='test at test.com',
         field_your_default_telephone_text='',
       ), dict(
         field_your_first_name='Person',

Modified: erp5/trunk/bt5/erp5_configurator_ung/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_configurator_ung/bt/revision?rev=44763&r1=44762&r2=44763&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_configurator_ung/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_configurator_ung/bt/revision [utf8] Wed Mar 30 03:51:21 2011
@@ -1 +1 @@
-21
\ No newline at end of file
+22
\ No newline at end of file



More information about the Erp5-report mailing list