def settings(self): result = [ DocumentationController(self, self._kw.doc), TagsController(self, self._kw.tags), ArgumentsController(self, self._kw.args), self.teardown, ReturnValueController(self, self._kw.return_), TimeoutController(self, self._kw.timeout) ] return result
def settings(self): result = [ DocumentationController(self, self._kw.doc), ArgumentsController(self, self._kw.args), TimeoutController(self, self._kw.timeout), ReturnValueController(self, self._kw.return_) ] if hasattr(self._kw, 'teardown'): result = result[:2] + [self.teardown] + result[2:] return result
def arguments(self): return ArgumentsController(self, self._kw.args)