Commit 4a5ebc6c authored by wenjie.zheng's avatar wenjie.zheng

erp5_configurator_run_my_doc: reinstall the original version

parent 90fcf778
......@@ -6,6 +6,24 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
......@@ -46,7 +64,33 @@
<key> <string>title</string> </key>
<value> <string>Configure user accounts</string> </value>
</item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocUserListForm</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition Variable" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>causality/workflow_module/run_my_doc_configuration_workflow/variable_client_id</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>Default Value = python: object.document.getCurrentStateValue().getVariableValue(object.document, \'user_number\') + 1</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition Variable</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -32,6 +32,10 @@
<key> <string>title</string> </key>
<value> <string>Install</string> </value>
</item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_displayRunMyDocDownloadForm</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -40,6 +40,10 @@
<key> <string>title</string> </key>
<value> <string>Configure ERP5 Preferences</string> </value>
</item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocPreferencesForm</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -40,6 +40,10 @@
<key> <string>title</string> </key>
<value> <string>Configure Organisation</string> </value>
</item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocOrganisationForm</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -40,6 +40,10 @@
<key> <string>title</string> </key>
<value> <string>Configure user accounts number</string> </value>
</item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocUserNumberForm</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>python: None</string> </value>
<value> <string>python: member.getUserName()</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>python: None</string> </value>
<value> <string>python: request.get(\'client_id\', None)</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>python: None</string> </value>
<value> <string>python: request.get(\'configuration_save_url\', None)</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -12,7 +12,9 @@
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>python: None</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>python: None</string> </value>
<value> <string>python: object.getDateTime()</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>python: None</string> </value>
<value> <string>python: request.get(\'transition\', None)</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -162,26 +162,26 @@ class TestRunMyDocsConfiguratorWorkflowMixin(TestLiveConfiguratorWorkflowMixin):
sequence.edit(next_dict=next_dict)
def stepCheckMultipleUserAccountThreeBrazil(self, sequence=None, sequence_list=None, **kw):
""" Check if the users were created correctly """
business_configuration = sequence.get("business_configuration")
person_config_save = business_configuration["5"]
person_config_item = person_config_save["1"]
self.assertEqual(person_config_item.getReference(), "person_creator")
person_config_item = person_config_save["2"]
self.assertEqual(person_config_item.getReference(), "person_assignee")
person_config_item = person_config_save["3"]
self.assertEqual(person_config_item.getReference(), "person_assignor")
""" Check if the users were created correctly """
business_configuration = sequence.get("business_configuration")
person_config_save = business_configuration["5"]
person_config_item = person_config_save["1"]
self.assertEqual(person_config_item.getReference(), "person_creator")
person_config_item = person_config_save["2"]
self.assertEqual(person_config_item.getReference(), "person_assignee")
person_config_item = person_config_save["3"]
self.assertEqual(person_config_item.getReference(), "person_assignor")
def stepCheckMultipleUserAccountThreeFrance(self, sequence=None, sequence_list=None, **kw):
""" Check if the users were created correctly """
business_configuration = sequence.get("business_configuration")
person_config_save = business_configuration["5"]
person_config_item = person_config_save["1"]
self.assertEqual(person_config_item.getReference(), "french_creator")
person_config_item = person_config_save["2"]
self.assertEqual(person_config_item.getReference(), "french_assignee")
person_config_item = person_config_save["3"]
self.assertEqual(person_config_item.getReference(), "french_assignor")
""" Check if the users were created correctly """
business_configuration = sequence.get("business_configuration")
person_config_save = business_configuration["5"]
person_config_item = person_config_save["1"]
self.assertEqual(person_config_item.getReference(), "french_creator")
person_config_item = person_config_save["2"]
self.assertEqual(person_config_item.getReference(), "french_assignee")
person_config_item = person_config_save["3"]
self.assertEqual(person_config_item.getReference(), "french_assignor")
def stepCheckSystemPreferenceAfterInstallation(self, sequence=None, sequence_list=None, **kw):
""" Check System Preference"""
......
......@@ -45,7 +45,26 @@
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple/>
<tuple>
<string>W:165, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:166, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:167, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:168, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:169, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:170, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:171, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:172, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:173, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:176, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:177, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:178, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:179, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:180, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:181, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:182, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:183, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:184, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
</tuple>
</value>
</item>
<item>
......
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