web/test/unittest_views_editforms.py
branchtls-sprint
changeset 1298 ca02a2b5e9be
parent 1287 984e249764d1
child 1300 62d2b890a980
--- 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'),