[web test] fix test needed after change of primary_email definition stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 05 Aug 2011 09:19:56 +0200
branchstable
changeset 7742 1273c1bc0237
parent 7741 45251e611209
child 7743 e55e439a6888
[web test] fix test needed after change of primary_email definition
web/test/unittest_views_editforms.py
web/views/tabs.py
--- a/web/test/unittest_views_editforms.py	Thu Aug 04 15:35:56 2011 +0200
+++ b/web/test/unittest_views_editforms.py	Fri Aug 05 09:19:56 2011 +0200
@@ -77,9 +77,9 @@
         # (appears here while expected in hidden
         self.assertListEqual([x for x in rbc(e, 'main', 'relations')
                                if x != ('tags', 'object')],
-                              [('primary_email', 'subject'),
-                               ('connait', 'subject'),
+                              [('connait', 'subject'),
                                ('custom_workflow', 'subject'),
+                               ('primary_email', 'subject'),
                                ('checked_by', 'object'),
                                ])
         self.assertListEqual(rbc(e, 'main', 'inlined'),
--- a/web/views/tabs.py	Thu Aug 04 15:35:56 2011 +0200
+++ b/web/views/tabs.py	Fri Aug 05 09:19:56 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.