cubicweb/devtools/testlib.py
changeset 11874 ea1d92b677b5
parent 11821 7534b32c45e3
child 11929 fcbd6b251d81
--- a/cubicweb/devtools/testlib.py	Fri Nov 18 18:19:10 2016 +0100
+++ b/cubicweb/devtools/testlib.py	Wed Nov 23 17:19:51 2016 +0100
@@ -684,7 +684,8 @@
     def list_boxes_for(self, rset):
         """returns the list of boxes that can be applied on `rset`"""
         req = rset.req
-        for box in self.vreg['ctxcomponents'].possible_objects(req, rset=rset):
+        for box in self.vreg['ctxcomponents'].possible_objects(req, rset=rset,
+                                                               view=None):
             yield box
 
     def list_startup_views(self):