Commit d834f76f authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Romain Courteaud

erp5_core_test: Fix tool title

parent ce3f2b63
......@@ -3393,7 +3393,7 @@ class TestBusinessTemplate(BusinessTemplateMixin):
# tests
def test_Title(self):
"""Tests the Title of the Template Tool."""
self.assertEqual('Template Tool', self.getTemplateTool().Title())
self.assertEqual('Business Templates', self.getTemplateTool().Title())
def test_01_checkNewSite(self):
"""Test Check New Site"""
......
......@@ -6,6 +6,12 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_recorded_property_dict</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>testBusinessTemplate</string> </value>
......@@ -14,6 +20,12 @@
<key> <string>default_source_reference</string> </key>
<value> <string>Products.ERP5.tests.testBusinessTemplate</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test.erp5.testBusinessTemplate</string> </value>
......@@ -38,51 +50,49 @@
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W:2834, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:3153, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W: 78, 2: Arguments number differs from overridden \'_catch_log_errors\' method (arguments-differ)</string>
<string>W: 95, 2: Arguments number differs from overridden \'_ignore_log_errors\' method (arguments-differ)</string>
<string>W:145, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:437, 8: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:628, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:616, 4: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:627, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:652, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:651, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:706, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:719, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:1201, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:1269, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:1347, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1363, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1376, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1387, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1399, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1399, 14: Unused variable \'wf_ids\' (unused-variable)</string>
<string>W:1455, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1487, 4: Redefining built-in \'bin\' (redefined-builtin)</string>
<string>W:1723, 4: Redefining built-in \'filter\' (redefined-builtin)</string>
<string>W:1740, 4: Redefining built-in \'filter\' (redefined-builtin)</string>
<string>W:1760, 6: Expression "catalog._getFilterDict()[method_id]" is assigned to nothing (expression-not-assigned)</string>
<string>W:1781, 6: Expression "catalog._getFilterDict()[method_id]" is assigned to nothing (expression-not-assigned)</string>
<string>W:2478, 4: Unreachable code (unreachable)</string>
<string>W:2753, 12: Unused variable \'key\' (unused-variable)</string>
<string>W:2869, 4: No exception type(s) specified (bare-except)</string>
<string>W:2880, 4: No exception type(s) specified (bare-except)</string>
<string>W:2974, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:3004, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:3004, 14: Unused variable \'wf_ids\' (unused-variable)</string>
<string>W:3019, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:3019, 14: Unused variable \'wf_ids\' (unused-variable)</string>
<string>W:3034, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:3072, 6: Unused variable \'portal_type\' (unused-variable)</string>
<string>W:3149, 69: Unused variable \'i\' (unused-variable)</string>
<string>W:6339, 12: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:6429, 8: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:6824, 4: Unused variable \'new_object\' (unused-variable)</string>
<string>W:7004, 4: Unused variable \'bt\' (unused-variable)</string>
<string>W:7009, 4: Unused variable \'bt\' (unused-variable)</string>
<string>W:7189, 4: Unused variable \'broken\' (unused-variable)</string>
<string>W: 68, 2: Arguments number differs from overridden \'_catch_log_errors\' method (arguments-differ)</string>
<string>W: 85, 2: Arguments number differs from overridden \'_ignore_log_errors\' method (arguments-differ)</string>
<string>W:135, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:427, 8: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:618, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:606, 4: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:617, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:642, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:641, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:696, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:709, 6: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W:1191, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:1259, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:1337, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1353, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1366, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1377, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1389, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1389, 14: Unused variable \'wf_ids\' (unused-variable)</string>
<string>W:1445, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:1477, 4: Redefining built-in \'bin\' (redefined-builtin)</string>
<string>W:1713, 4: Redefining built-in \'filter\' (redefined-builtin)</string>
<string>W:1730, 4: Redefining built-in \'filter\' (redefined-builtin)</string>
<string>W:1750, 6: Expression "catalog._getFilterDict()[method_id]" is assigned to nothing (expression-not-assigned)</string>
<string>W:1771, 6: Expression "catalog._getFilterDict()[method_id]" is assigned to nothing (expression-not-assigned)</string>
<string>W:2468, 4: Unreachable code (unreachable)</string>
<string>W:2743, 12: Unused variable \'key\' (unused-variable)</string>
<string>W:2863, 4: No exception type(s) specified (bare-except)</string>
<string>W:2874, 4: No exception type(s) specified (bare-except)</string>
<string>W:2968, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:2998, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:2998, 14: Unused variable \'wf_ids\' (unused-variable)</string>
<string>W:3013, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:3013, 14: Unused variable \'wf_ids\' (unused-variable)</string>
<string>W:3028, 10: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:3066, 6: Unused variable \'portal_type\' (unused-variable)</string>
<string>W:3143, 69: Unused variable \'i\' (unused-variable)</string>
<string>W:6460, 8: Redefining built-in \'id\' (redefined-builtin)</string>
<string>W:6855, 4: Unused variable \'new_object\' (unused-variable)</string>
<string>W:7169, 4: Unused variable \'bt\' (unused-variable)</string>
<string>W:7174, 4: Unused variable \'bt\' (unused-variable)</string>
<string>W:7360, 4: Unused variable \'broken\' (unused-variable)</string>
<string>W: 45, 0: Unused import gc (unused-import)</string>
</tuple>
</value>
</item>
......@@ -93,13 +103,28 @@
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
......@@ -112,7 +137,7 @@
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
......@@ -121,7 +146,7 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
......
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