# HG changeset patch # User Sylvain Thénault # Date 1305798654 -7200 # Node ID 2391a6f526bf4e74def8f699434ad93e0ece387b # Parent 972ed1843bd8f6783c425e81e84f8656606e0540 [web test] fix test broken by making cw_source editable by managers diff -r 972ed1843bd8 -r 2391a6f526bf 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'),