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