Commit d51a3173 authored by Jérome Perrin's avatar Jérome Perrin

hal_json_style: remove copy/pasted comment that does not apply

parent 3700e8e1
...@@ -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',])
......
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