[web test] fix test broken by making cw_source editable by managers
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 19 May 2011 11:50:54 +0200
changeset 7400 2391a6f526bf
parent 7399 972ed1843bd8
child 7402 826e5663a686
[web test] fix test broken by making cw_source editable by managers
web/test/unittest_views_editforms.py
--- a/web/test/unittest_views_editforms.py	Thu May 19 10:53:17 2011 +0200
+++ b/web/test/unittest_views_editforms.py	Thu May 19 11:50:54 2011 +0200
@@ -64,6 +64,7 @@
                                ])
         self.assertListEqual(rbc(e, 'main', 'metadata'),
                               [('last_login_time', 'subject'),
+                               ('cw_source', 'subject'),
                                ('creation_date', 'subject'),
                                ('cwuri', 'subject'),
                                ('modification_date', 'subject'),
@@ -119,7 +120,8 @@
                               [('nom', 'subject'),
                                ])
         self.assertListEqual(rbc(e, 'main', 'metadata'),
-                              [('creation_date', 'subject'),
+                              [('cw_source', 'subject'),
+                               ('creation_date', 'subject'),
                                ('cwuri', 'subject'),
                                ('modification_date', 'subject'),
                                ('created_by', 'subject'),