web/test/unittest_form.py
changeset 5873 0db035933b01
parent 5727 29afb9e715bb
child 5914 dc5a77a2e485
equal deleted inserted replaced
5872:137be4487ade 5873:0db035933b01
    98 
    98 
    99     def test_reledit_composite_field(self):
    99     def test_reledit_composite_field(self):
   100         rset = self.execute('INSERT BlogEntry X: X title "cubicweb.org", X content "hop"')
   100         rset = self.execute('INSERT BlogEntry X: X title "cubicweb.org", X content "hop"')
   101         form = self.vreg['views'].select('doreledit', self.request(),
   101         form = self.vreg['views'].select('doreledit', self.request(),
   102                                          rset=rset, row=0, rtype='content')
   102                                          rset=rset, row=0, rtype='content')
   103         data = form.render(row=0, rtype='content')
   103         data = form.render(row=0, rtype='content', formid='base')
   104         self.failUnless('content_format' in data)
   104         self.failUnless('content_format' in data)
   105 
   105 
   106     # form view tests #########################################################
   106     # form view tests #########################################################
   107 
   107 
   108     def test_massmailing_formview(self):
   108     def test_massmailing_formview(self):