Commit f7b7c7db authored by Sebastien Robin's avatar Sebastien Robin

fixed the test, asContext does not exist on the ERP5Site itself

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10070 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 15a8e73d
...@@ -226,7 +226,7 @@ return [] ...@@ -226,7 +226,7 @@ return []
"""return [context.asContext(alternate_title = u'\xe9lisa')]""") """return [context.asContext(alternate_title = u'\xe9lisa')]""")
# set the listbox to use this as list method # set the listbox to use this as list method
listbox = portal.FooModule_viewFooList.listbox listbox = portal.foo_module.FooModule_viewFooList.listbox
listbox.ListBox_setPropertyList( listbox.ListBox_setPropertyList(
field_list_method = list_method_id, field_list_method = list_method_id,
field_columns = ['alternate_title | Alternate Title',],) field_columns = ['alternate_title | Alternate Title',],)
......
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