diff options
Diffstat (limited to 'docs/source/hooks.rst')
-rw-r--r-- | docs/source/hooks.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/hooks.rst b/docs/source/hooks.rst index 1cdb4ef..3b9d364 100644 --- a/docs/source/hooks.rst +++ b/docs/source/hooks.rst @@ -71,6 +71,10 @@ response objects, and which controller was selected by Pecan's routing:: # and used to generate the response body # assert state.controller.__func__ is RootController.index.__func__ + assert isinstance(state.arguments, inspect.Arguments) + print state.arguments.args + print state.arguments.varargs + print state.arguments.keywords assert isinstance(state.request, webob.Request) assert isinstance(state.response, webob.Response) assert isinstance(state.hooks, list) |