web/test/unittest_views_navigation.py
changeset 9674 96549de9dd70
parent 7791 31bb51ea5485
child 9675 8aabfefc8a81
--- a/web/test/unittest_views_navigation.py	Wed Apr 09 11:25:45 2014 +0200
+++ b/web/test/unittest_views_navigation.py	Tue Apr 08 17:39:39 2014 +0200
@@ -126,7 +126,7 @@
     #         req, rset=rset, view=view, context='navtop')
     #     # breadcrumbs should be in headers by default
     #     clsids = set(obj.id for obj in objs)
-    #     self.assertTrue('breadcrumbs' in clsids)
+    #     self.assertIn('breadcrumbs', clsids)
     #     objs = self.vreg['ctxcomponents'].poss_visible_objects(
     #         req, rset=rset, view=view, context='navbottom')
     #     # breadcrumbs should _NOT_ be in footers by default
@@ -140,7 +140,7 @@
     #         req, rset=rset, view=view, context='navbottom')
 
     #     clsids = [obj.id for obj in objs]
-    #     self.assertTrue('breadcrumbs' in clsids)
+    #     self.assertIn('breadcrumbs', clsids)
     #     objs = self.vreg['ctxcomponents'].poss_visible_objects(
     #         req, rset=rset, view=view, context='navtop')