fix test broken by introduction of ViewSameEType action
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 08 Feb 2010 12:02:32 +0100
changeset 4492 150f1d57ecfd
parent 4491 a0f48c31b58a
child 4493 c0a43c6ba777
fix test broken by introduction of ViewSameEType action
web/test/unittest_viewselector.py
--- a/web/test/unittest_viewselector.py	Mon Feb 08 12:01:15 2010 +0100
+++ b/web/test/unittest_viewselector.py	Mon Feb 08 12:02:32 2010 +0100
@@ -278,7 +278,8 @@
                              {'useractions': USERACTIONS,
                               'siteactions': SITEACTIONS,
                               'footer': FOOTERACTIONS,
-                              'mainactions': [actions.ModifyAction],
+                              'mainactions': [actions.ModifyAction,
+                                              actions.ViewSameCWEType],
                               'moreactions': [actions.ManagePermissionsAction,
                                               actions.AddRelatedActions,
                                               actions.DeleteAction,
@@ -482,7 +483,7 @@
                              {'useractions': USERACTIONS,
                               'siteactions': SITEACTIONS,
                               'footer': FOOTERACTIONS,
-                              'mainactions': [actions.ModifyAction],
+                              'mainactions': [actions.ModifyAction, actions.ViewSameCWEType],
                               'moreactions': [actions.ManagePermissionsAction,
                                               actions.AddRelatedActions,
                                               actions.DeleteAction,
@@ -496,7 +497,7 @@
                              {'useractions': USERACTIONS,
                               'siteactions': SITEACTIONS,
                               'footer': FOOTERACTIONS,
-                              'mainactions': [actions.ModifyAction],
+                              'mainactions': [actions.ModifyAction, actions.ViewSameCWEType],
                               'moreactions': [actions.ManagePermissionsAction,
                                               actions.AddRelatedActions,
                                               actions.DeleteAction,