Commit 43d1949e authored by Yoshinori Okuji's avatar Yoshinori Okuji

render_prefix is added.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22204 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 718cd97d
...@@ -76,7 +76,7 @@ class TestRenderViewAPI(unittest.TestCase): ...@@ -76,7 +76,7 @@ class TestRenderViewAPI(unittest.TestCase):
def test_signature(self): def test_signature(self):
for field in FieldRegistry.get_field_classes().itervalues(): for field in FieldRegistry.get_field_classes().itervalues():
self.assertEquals(('self', 'value', 'REQUEST'), self.assertEquals(('self', 'value', 'REQUEST', 'render_prefix'),
field.render_view.im_func.func_code.co_varnames) field.render_view.im_func.func_code.co_varnames)
if field is not ProxyField.ProxyField: if field is not ProxyField.ProxyField:
self.assertEquals(('self', 'field', 'value', 'REQUEST'), self.assertEquals(('self', 'field', 'value', 'REQUEST'),
......
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