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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
8e893a64
Commit
8e893a64
authored
Jan 31, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui_test: fix pylint errors
parent
fd8696d2
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
6 deletions
+11
-6
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/AccessTabZuite_setPreference.py
...portal_skins/erp5_ui_test/AccessTabZuite_setPreference.py
+1
-1
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Base_directWorkflowAction.py
...em/portal_skins/erp5_ui_test/Base_directWorkflowAction.py
+0
-1
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_checkFormBoxDialog.py
...eItem/portal_skins/erp5_ui_test/Foo_checkFormBoxDialog.py
+2
-0
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getListBoxInReportModeSectionList.py
...ins/erp5_ui_test/Foo_getListBoxInReportModeSectionList.py
+1
-1
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxDialogModeZuite_reset.py
...portal_skins/erp5_ui_test/ListBoxDialogModeZuite_reset.py
+1
-1
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.py
...plateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.py
+2
-2
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/PortalType_addAction.py
...ateItem/portal_skins/erp5_ui_test/PortalType_addAction.py
+2
-0
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/PortalType_deleteAction.py
...Item/portal_skins/erp5_ui_test/PortalType_deleteAction.py
+2
-0
No files found.
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/AccessTabZuite_setPreference.py
View file @
8e893a64
...
...
@@ -7,6 +7,6 @@ if preference is None:
portal_type
=
"Preference"
)
if
preference
.
getPreferenceState
()
!=
"enabled"
:
preference
.
enable
()
preference
.
enable
()
return
'Set Preference Successfully.'
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Base_directWorkflowAction.py
View file @
8e893a64
request
=
context
.
REQUEST
context
.
portal_workflow
.
doActionFor
(
context
,
workflow_action
,
comment
=
''
,
**
kw
)
message
=
'direct workflow action done.'
return
context
.
Base_redirect
(
'view'
,
keep_items
=
{
'portal_status_message'
:
message
})
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_checkFormBoxDialog.py
View file @
8e893a64
# this script has a parameter named `id`
# pylint: disable=redefined-builtin
"""Redirect to Foo_viewFormBox"""
msg
=
"%s %s %s %s"
%
(
id
,
title
,
quantity
,
description
)
...
...
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getListBoxInReportModeSectionList.py
View file @
8e893a64
...
...
@@ -8,4 +8,4 @@ kw = {
# 'selection_params': {},
'temporary_selection'
:
False
,
}
return
[
ReportSection
(
**
kw
)
for
x
in
xrange
(
3
)]
return
[
ReportSection
(
**
kw
)
for
_
in
xrange
(
3
)]
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxDialogModeZuite_reset.py
View file @
8e893a64
...
...
@@ -13,7 +13,7 @@ default_columns = '\n'.join(( 'id | ID'
,
'title | Title'
,
'quantity | Quantity'
))
result
=
form
.
listbox
.
ListBox_setPropertyList
(
form
.
listbox
.
ListBox_setPropertyList
(
field_title
=
'Bars'
,
field_columns
=
default_columns
,
field_sort
=
'id'
...
...
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.py
View file @
8e893a64
...
...
@@ -8,7 +8,7 @@ for name in ('foo_module', 'bar_module', 'foo_bar_module'):
# Reset the foo module listbox
form
=
context
.
FooModule_viewFooList
result
=
form
.
listbox
.
ListBox_setPropertyList
()
form
.
listbox
.
ListBox_setPropertyList
()
#form.listbox.manage_edit(dict(
# lines = 3, all_columns = [], search_columns = [], sort_columns = [],
...
...
@@ -22,7 +22,7 @@ default_columns = '\n'.join(( 'id | ID'
,
'title | Title'
,
'quantity | Quantity'
))
result
=
form
.
listbox
.
ListBox_setPropertyList
(
form
.
listbox
.
ListBox_setPropertyList
(
field_title
=
'Foo Lines'
,
field_columns
=
default_columns
,
field_sort
=
'id'
...
...
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/PortalType_addAction.py
View file @
8e893a64
# this script has a parameter named `id`
# pylint: disable=redefined-builtin
"""Add or replace an action on a type informations from types tool.
"""
assert
context
.
meta_type
in
(
'ERP5 Type Information'
,
'ERP5 Base Type'
),
context
.
meta_type
...
...
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/PortalType_deleteAction.py
View file @
8e893a64
# this script has a parameter named `id`
# pylint: disable=redefined-builtin
"""Delete an action on a type informations from types tool.
"""
assert
context
.
meta_type
in
(
'ERP5 Type Information'
,
'ERP5 Base Type'
),
context
.
meta_type
...
...
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