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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
d51a3173
Commit
d51a3173
authored
Jun 05, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal_json_style: remove copy/pasted comment that does not apply
parent
3700e8e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
bt5/erp5_hal_json_style/TestTemplateItem/portal_components/test.erp5.testHalJsonStyle.py
...plateItem/portal_components/test.erp5.testHalJsonStyle.py
+0
-5
No files found.
bt5/erp5_hal_json_style/TestTemplateItem/portal_components/test.erp5.testHalJsonStyle.py
View file @
d51a3173
...
@@ -1679,7 +1679,6 @@ return '%s/Base_viewMetadata?reset:int=1' % context.getRelativeUrl()
...
@@ -1679,7 +1679,6 @@ return '%s/Base_viewMetadata?reset:int=1' % context.getRelativeUrl()
@changeSkin('
Hal
')
@changeSkin('
Hal
')
def test_getHateoasDocument_listbox_check_url_column_different_view(self):
def test_getHateoasDocument_listbox_check_url_column_different_view(self):
self._makeDocument()
self._makeDocument()
# pass custom list method which expect input arguments
self.portal.foo_module.FooModule_viewFooList.listbox.ListBox_setPropertyList(
self.portal.foo_module.FooModule_viewFooList.listbox.ListBox_setPropertyList(
field_url_columns = ['
modification_date
|
Base_getUrl
',])
field_url_columns = ['
modification_date
|
Base_getUrl
',])
...
@@ -1729,7 +1728,6 @@ return url
...
@@ -1729,7 +1728,6 @@ return url
""")
""")
@changeSkin('
Hal
')
@changeSkin('
Hal
')
def test_getHateoasDocument_listbox_check_url_column_absolute_url_with_field_rendering(self):
def test_getHateoasDocument_listbox_check_url_column_absolute_url_with_field_rendering(self):
# pass custom list method which expect input arguments
self.portal.foo_module.FooModule_viewFooList.listbox.ListBox_setPropertyList(
self.portal.foo_module.FooModule_viewFooList.listbox.ListBox_setPropertyList(
field_url_columns = ['
modification_date
|
Base_getUrl
',])
field_url_columns = ['
modification_date
|
Base_getUrl
',])
...
@@ -1774,7 +1772,6 @@ return url
...
@@ -1774,7 +1772,6 @@ return url
@changeSkin('
Hal
')
@changeSkin('
Hal
')
def test_getHateoasDocument_listbox_check_url_column_absolute_url_without_field_rendering(self):
def test_getHateoasDocument_listbox_check_url_column_absolute_url_without_field_rendering(self):
self._makeDocument()
self._makeDocument()
# pass custom list method which expect input arguments
self.portal.foo_module.FooModule_viewFooList.listbox.ListBox_setPropertyList(
self.portal.foo_module.FooModule_viewFooList.listbox.ListBox_setPropertyList(
field_url_columns = ['
title
|
Base_getUrl
',])
field_url_columns = ['
title
|
Base_getUrl
',])
...
@@ -1816,7 +1813,6 @@ return url
...
@@ -1816,7 +1813,6 @@ return url
@
changeSkin
(
'Hal'
)
@
changeSkin
(
'Hal'
)
def
test_getHateoasDocument_listbox_check_url_column_no_url
(
self
):
def
test_getHateoasDocument_listbox_check_url_column_no_url
(
self
):
self
.
_makeDocument
()
self
.
_makeDocument
()
# pass custom list method which expect input arguments
self
.
portal
.
foo_module
.
FooModule_viewFooList
.
listbox
.
ListBox_setPropertyList
(
self
.
portal
.
foo_module
.
FooModule_viewFooList
.
listbox
.
ListBox_setPropertyList
(
field_url_columns
=
[
'title|'
,])
field_url_columns
=
[
'title|'
,])
...
@@ -1861,7 +1857,6 @@ return url
...
@@ -1861,7 +1857,6 @@ return url
@
changeSkin
(
'Hal'
)
@
changeSkin
(
'Hal'
)
def
test_getHateoasDocument_listbox_check_url_column_option_parameters
(
self
):
def
test_getHateoasDocument_listbox_check_url_column_option_parameters
(
self
):
self
.
_makeDocument
()
self
.
_makeDocument
()
# pass custom list method which expect input arguments
self
.
portal
.
foo_module
.
FooModule_viewFooList
.
listbox
.
ListBox_setPropertyList
(
self
.
portal
.
foo_module
.
FooModule_viewFooList
.
listbox
.
ListBox_setPropertyList
(
field_url_columns
=
[
'title | Base_getUrl'
,])
field_url_columns
=
[
'title | Base_getUrl'
,])
...
...
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