# HG changeset patch # User Adrien Di Mascio # Date 1253605475 -7200 # Node ID be0605689fed708519dfee8cd7d14ddf651260e3 # Parent b02df886eb3e6cdd20e22ca0bc9f457a9b862e8d [tests] fix inline-creation/edition unit tests diff -r b02df886eb3e -r be0605689fed web/test/unittest_views_editforms.py --- a/web/test/unittest_views_editforms.py Tue Sep 22 09:17:15 2009 +0200 +++ b/web/test/unittest_views_editforms.py Tue Sep 22 09:44:35 2009 +0200 @@ -152,11 +152,13 @@ def test_automatic_inline_edit_formview(self): geid = self.execute('CWGroup X LIMIT 1')[0][0] rset = self.execute('CWUser X LIMIT 1') - self.view('inline-edition', rset, row=0, rtype='in_group', peid=geid, template=None).source + self.view('inline-edition', rset, row=0, col=0, rtype='in_group', + peid=geid, role='subject', template=None, i18nctx='').source def test_automatic_inline_creation_formview(self): geid = self.execute('CWGroup X LIMIT 1')[0][0] - self.view('inline-creation', None, etype='CWUser', rtype='in_group', peid=geid, template=None).source + self.view('inline-creation', None, etype='CWUser', rtype='in_group', + peid=geid, template=None, i18nctx='', role='subject').source if __name__ == '__main__':