web/test/unittest_views_editforms.py
branchtls-sprint
changeset 1540 996355824825
parent 1533 bcd4bfff658b
child 1654 57b9fd2462b8
equal deleted inserted replaced
1539:b0d583d30508 1540:996355824825
    62                                ('owned_by', 'object'),
    62                                ('owned_by', 'object'),
    63                                ('identity', 'object'),
    63                                ('identity', 'object'),
    64                                ])
    64                                ])
    65 
    65 
    66     def test_inlined_view(self):
    66     def test_inlined_view(self):
    67         self.failUnless(AEF.rinlined.etype_rtag('CWUser', 'use_email', 'subject'))
    67         self.failUnless(AEF.rinlined.etype_get('CWUser', 'use_email', 'subject'))
    68         self.failIf(AEF.rinlined.etype_rtag('CWUser', 'primary_email', 'subject'))
    68         self.failIf(AEF.rinlined.etype_get('CWUser', 'primary_email', 'subject'))
    69 
    69 
    70     def test_personne_relations_by_category(self):
    70     def test_personne_relations_by_category(self):
    71         e = self.etype_instance('Personne')
    71         e = self.etype_instance('Personne')
    72         self.assertListEquals(rbc(e, 'primary'),
    72         self.assertListEquals(rbc(e, 'primary'),
    73                               [('nom', 'subject'),
    73                               [('nom', 'subject'),