test inlined rtags tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 08 Apr 2009 13:20:05 +0200
branchtls-sprint
changeset 1298 ca02a2b5e9be
parent 1297 174ebf2a1459
child 1300 62d2b890a980
test inlined rtags
web/test/unittest_views_editforms.py
--- a/web/test/unittest_views_editforms.py	Wed Apr 08 13:19:23 2009 +0200
+++ b/web/test/unittest_views_editforms.py	Wed Apr 08 13:20:05 2009 +0200
@@ -48,7 +48,11 @@
                                ('wf_info_for', 'object'),
                                ('owned_by', 'object'),
                                ])
-                              
+
+    def test_inlined_view(self):
+        self.failUnless(AEF.rinlined.etype_rtag('EUser', 'use_email', 'subject'))
+        self.failIf(AEF.rinlined.etype_rtag('EUser', 'primary_email', 'subject'))
+                        
     def test_personne_relations_by_category(self):
         e = self.etype_instance('Personne')
         self.assertListEquals(rbc(e, 'primary'),