Commit 20bb87fe authored by Gabriel Monnerat's avatar Gabriel Monnerat

fix syntax and add assert

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44763 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c66bf65e
...@@ -219,9 +219,10 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase): ...@@ -219,9 +219,10 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase):
self.assertCurrentStep('Configuration of users', response_dict) self.assertCurrentStep('Configuration of users', response_dict)
def stepCheckUserAccountNumberThree(self, sequence=None, sequence_list=None, **kw): def stepCheckUserAccountNumberThree(self, sequence=None, sequence_list=None, **kw):
""" """ """ Check user amount """
business_configuration = sequence.get("business_configuration") 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): def stepSetupMultipleUserAccountThree(self, sequence=None, sequence_list=None, **kw):
""" Create multiple user account """ """ Create multiple user account """
...@@ -232,8 +233,7 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase): ...@@ -232,8 +233,7 @@ class TestUNGConfiguratorWorkflow(ERP5TypeTestCase):
field_your_reference="person_creator", field_your_reference="person_creator",
field_your_password='person_creator', field_your_password='person_creator',
field_your_password_confirm='person_creator', field_your_password_confirm='person_creator',
field_your_default_email_ field_your_default_email_text='test@test.com',
text='test@test.com',
field_your_default_telephone_text='', field_your_default_telephone_text='',
), dict( ), dict(
field_your_first_name='Person', field_your_first_name='Person',
......
21 22
\ No newline at end of file \ 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