equal
deleted
inserted
replaced
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): |