devtools/testlib.py
changeset 6141 b8287e54b528
parent 6140 65a619eb31c4
child 6173 eb386e473044
equal deleted inserted replaced
6140:65a619eb31c4 6141:b8287e54b528
   473             yield action
   473             yield action
   474 
   474 
   475     def list_boxes_for(self, rset):
   475     def list_boxes_for(self, rset):
   476         """returns the list of boxes that can be applied on `rset`"""
   476         """returns the list of boxes that can be applied on `rset`"""
   477         req = rset.req
   477         req = rset.req
   478         for box in self.vreg['boxes'].possible_objects(req, rset=rset):
   478         for box in self.vreg['ctxcomponents'].possible_objects(req, rset=rset):
   479             yield box
   479             yield box
   480 
   480 
   481     def list_startup_views(self):
   481     def list_startup_views(self):
   482         """returns the list of startup views"""
   482         """returns the list of startup views"""
   483         req = self.request()
   483         req = self.request()