コード例 #1
0
 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
コード例 #2
0
 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
コード例 #3
0
 def arguments(self):
     return ArgumentsController(self, self._kw.args)