149 self.view('reledit', rset, row=0, rtype='login', template=None).source |
149 self.view('reledit', rset, row=0, rtype='login', template=None).source |
150 |
150 |
151 def test_automatic_inline_edit_formview(self): |
151 def test_automatic_inline_edit_formview(self): |
152 geid = self.execute('CWGroup X LIMIT 1')[0][0] |
152 geid = self.execute('CWGroup X LIMIT 1')[0][0] |
153 rset = self.execute('CWUser X LIMIT 1') |
153 rset = self.execute('CWUser X LIMIT 1') |
154 self.view('inline-edition', rset, row=0, rtype='in_group', peid=geid, template=None).source |
154 self.view('inline-edition', rset, row=0, col=0, rtype='in_group', |
|
155 peid=geid, role='subject', template=None, i18nctx='').source |
155 |
156 |
156 def test_automatic_inline_creation_formview(self): |
157 def test_automatic_inline_creation_formview(self): |
157 geid = self.execute('CWGroup X LIMIT 1')[0][0] |
158 geid = self.execute('CWGroup X LIMIT 1')[0][0] |
158 self.view('inline-creation', None, etype='CWUser', rtype='in_group', peid=geid, template=None).source |
159 self.view('inline-creation', None, etype='CWUser', rtype='in_group', |
|
160 peid=geid, template=None, i18nctx='', role='subject').source |
159 |
161 |
160 |
162 |
161 if __name__ == '__main__': |
163 if __name__ == '__main__': |
162 unittest_main() |
164 unittest_main() |
163 |
165 |