Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
d834f76f
Commit
d834f76f
authored
Dec 04, 2020
by
Gabriel Monnerat
Committed by
Romain Courteaud
Dec 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core_test: Fix tool title
parent
ce3f2b63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
49 deletions
+74
-49
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testBusinessTemplate.py
...eItem/portal_components/test.erp5.testBusinessTemplate.py
+1
-1
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testBusinessTemplate.xml
...Item/portal_components/test.erp5.testBusinessTemplate.xml
+73
-48
No files found.
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testBusinessTemplate.py
View file @
d834f76f
...
...
@@ -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"""
...
...
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testBusinessTemplate.xml
View file @
d834f76f
...
...
@@ -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"
>
AAAAAAAAAA
I
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</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"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment