web/test/unittest_form.py
changeset 7161 e3f69df8dac7
parent 7017 cd2ea273007a
child 7584 e1881933f366
--- a/web/test/unittest_form.py	Thu Mar 31 17:24:38 2011 +0200
+++ b/web/test/unittest_form.py	Fri Apr 01 08:20:25 2011 +0200
@@ -104,9 +104,9 @@
 
     def test_reledit_composite_field(self):
         rset = self.execute('INSERT BlogEntry X: X title "cubicweb.org", X content "hop"')
-        form = self.vreg['views'].select('doreledit', self.request(),
+        form = self.vreg['views'].select('reledit', self.request(),
                                          rset=rset, row=0, rtype='content')
-        data = form.render(row=0, rtype='content', formid='base')
+        data = form.render(row=0, rtype='content', formid='base', action='edit_rtype')
         self.failUnless('content_format' in data)
 
     # form view tests #########################################################