devtools/testlib.py
branch3.5
changeset 3226 10f4f525044c
parent 2668 979c7ccb4a86
child 3230 1d25e928c299
child 3689 deb13e88e037
equal deleted inserted replaced
3225:464c5b9c6fa0 3226:10f4f525044c
   331                             rset.req.reset_headers(), 'main-template')
   331                             rset.req.reset_headers(), 'main-template')
   332             # We have to do this because some views modify the
   332             # We have to do this because some views modify the
   333             # resultset's syntax tree
   333             # resultset's syntax tree
   334             rset = backup_rset
   334             rset = backup_rset
   335         for action in self.list_actions_for(rset):
   335         for action in self.list_actions_for(rset):
   336             yield InnerTest(self._testname(rset, action.id, 'action'), action.url)
   336             yield InnerTest(self._testname(rset, action.id, 'action'), self._test_action, action)
   337         for box in self.list_boxes_for(rset):
   337         for box in self.list_boxes_for(rset):
   338             yield InnerTest(self._testname(rset, box.id, 'box'), box.render)
   338             yield InnerTest(self._testname(rset, box.id, 'box'), box.render)
   339 
   339 
   340     @staticmethod
   340     @staticmethod
   341     def _testname(rset, objid, objtype):
   341     def _testname(rset, objid, objtype):