Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Print NameLoad Print AttributeLoad NameLoad attr Assert Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assert CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assert CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assert CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assert CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assert CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Call NameLoad Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Str Call NameLoad Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Str Call NameLoad Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Str ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq NameLoad ListLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Print NameLoad Assert CompareEq Call NameLoad NameLoad Str orelse Assert NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Print NameLoad Assert CompareEq Call NameLoad NameLoad Str orelse Assert NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Print NameLoad Assert CompareEq Call NameLoad NameLoad Str orelse Assert NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print Call NameLoad NameLoad Print AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print Call NameLoad NameLoad Print AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print Call NameLoad NameLoad Print AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Print AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Print AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Assert CompareNotIn Str AttributeLoad NameLoad attr Assert CompareNotIn Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Dict Str Dict Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Dict Str Dict Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad keyword Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num keyword Lambda arguments args defaults Num FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list Call AttributeLoad NameLoad attr Num keyword Lambda arguments args defaults Num Call AttributeLoad NameLoad attr Num keyword Lambda arguments args defaults Num FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Return BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias ImportFrom alias Return Call NameLoad Num Num Num Num Num keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Raise Call NameLoad Str orelse Return Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases NameLoad body Pass decorator_list Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Dict Str Str FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword ListLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list Assign NameStore Call NameLoad
N/A N/A mox N/A StringIO N/A time datetime timedelta webob Request N/A wsgiservice N/A wsgiservice.application N/A wsgiservice.exceptions test_getapp N/A N/A N/A N/A N/A get_app returns a list of resources from the dictionary. N/A app N/A N/A wsgiservice get_app N/A globals N/A app N/A N/A app _resources N/A N/A isinstance app N/A N/A wsgiservice application Application N/A N/A N/A len N/A app _resources 7 N/A resources N/A Resource1 Resource2 Resource3 Resource4 Resource5 Resource6 N/A N/A N/A N/A app _resources N/A 0 resources N/A N/A N/A N/A app _resources N/A 1 resources N/A N/A N/A N/A app _resources N/A 2 resources N/A N/A N/A N/A app _resources N/A 3 resources N/A N/A N/A N/A app _resources N/A 4 resources N/A N/A N/A N/A app _resources N/A 5 resources N/A test_app_handle_404 N/A N/A N/A N/A N/A Application returns a 404 status code if no resource is found. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /foo N/A HTTP_ACCEPT text/xml N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 404 Not Found N/A N/A N/A res body <response><error>The requested resource does not exist.</error></response> N/A N/A N/A N/A res headers N/A Content-Type text/xml; charset=UTF-8 N/A test_app_handle_method_not_allowed N/A N/A N/A N/A N/A Application returns 405 for known but unimplemented methods. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res2 N/A REQUEST_METHOD GET N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 405 Method Not Allowed N/A N/A N/A res body N/A N/A N/A N/A res _headers N/A Allow OPTIONS, POST, PUT N/A test_app_handle_method_not_known N/A N/A N/A N/A N/A Application returns 501 for unknown and unimplemented methods. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res2 N/A REQUEST_METHOD PATCH N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 501 Not Implemented N/A N/A N/A res body N/A N/A N/A N/A res _headers N/A Allow OPTIONS, POST, PUT N/A test_app_handle_response_201_abs N/A N/A N/A N/A N/A raise_201 used the location header directly if it is absolute. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res2 N/A REQUEST_METHOD POST N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 201 Created N/A N/A N/A res body N/A N/A N/A res location /res2/test N/A test_app_handle_response_201_rel N/A N/A N/A N/A N/A raise_201 adds relative location header to the current request path. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res2 N/A REQUEST_METHOD PUT N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 201 Created N/A N/A N/A res body N/A N/A N/A res location /res2/foo N/A test_app_handle_response_201_ext N/A N/A N/A N/A N/A raise_201 ignores extension in the current path. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res2.json N/A REQUEST_METHOD PUT N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 201 Created N/A N/A N/A res body N/A N/A N/A res location /res2/foo N/A test_app_handle_options N/A N/A N/A N/A N/A Resource provides a good default for the OPTIONS method. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res2 N/A REQUEST_METHOD OPTIONS N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 200 OK N/A N/A N/A N/A res _headers N/A Allow OPTIONS, POST, PUT N/A test_app_get_simple N/A N/A N/A N/A N/A Application handles GET request and ignored POST data in that case. N/A app N/A N/A wsgiservice get_app N/A globals N/A body foo=42&baz=foobar N/A req N/A N/A Request blank /res1/theid N/A CONTENT_LENGTH CONTENT_TYPE wsgi.input N/A str N/A len body application/x-www-form-urlencoded N/A N/A StringIO StringIO body N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 200 OK N/A N/A N/A N/A res _headers N/A Content-MD5 8d5a8ef21b4afff94c937faabfdf11fa N/A N/A N/A res body <response>GET was called with id theid, foo None</response> N/A test_app_head_revert_to_get_simple N/A N/A N/A N/A N/A Application converts a HEAD to a GET request but doesn't send body. N/A app N/A N/A wsgiservice get_app N/A globals N/A body foo=42&baz=foobar N/A req N/A N/A Request blank /res1/theid N/A REQUEST_METHOD CONTENT_LENGTH CONTENT_TYPE wsgi.input HEAD N/A str N/A len body application/x-www-form-urlencoded N/A N/A StringIO StringIO body N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 200 OK N/A N/A N/A res body N/A test_app_post_simple N/A N/A N/A N/A N/A Application handles normal POST request. N/A app N/A N/A wsgiservice get_app N/A globals N/A body foo=42&baz=foobar N/A req N/A N/A Request blank /res1/theid N/A REQUEST_METHOD CONTENT_LENGTH CONTENT_TYPE wsgi.input POST N/A str N/A len body application/x-www-form-urlencoded N/A N/A StringIO StringIO body N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 200 OK N/A N/A N/A res body <response>POST was called with id theid, foo 42</response> N/A test_app_wsgi N/A N/A N/A N/A N/A Application instance works as a WSGI application. N/A app N/A N/A wsgiservice get_app N/A globals N/A env N/A N/A N/A Request blank /res1/theid.json environ N/A start_response N/A N/A mox MockAnything N/A N/A start_response 200 OK N/A N/A Content-Length 40 N/A Content-Type application/json; charset=UTF-8 N/A Content-MD5 d6fe631718727b542d2ecb70dfd41e4b N/A N/A N/A mox Replay start_response N/A res N/A app env start_response N/A res N/A N/A N/A mox Verify start_response N/A N/A res N/A "GET was called with id theid, foo None" N/A test_validation_method N/A N/A N/A N/A N/A Resource validates a method parameter which was set on the method. N/A inst N/A Resource1 None None None N/A N/A N/A inst validate_param N/A inst POST foo 9 N/A test_validation_class N/A N/A N/A N/A N/A Resource validates a method parameter which was set on the class. N/A inst N/A Resource1 None None None N/A N/A N/A inst validate_param N/A inst GET id anyid N/A test_validation_with_re_none_value N/A N/A N/A N/A N/A Resource rejects empty values if a validation is defined. N/A inst N/A Resource1 None None None N/A N/A N/A N/A N/A inst validate_param N/A inst GET id None N/A N/A N/A N/A N/A wsgiservice exceptions ValidationException N/A e N/A N/A e N/A N/A N/A str e Value for id must not be empty. N/A N/A False Expected an exception! N/A test_validation_with_re_mismatch N/A N/A N/A N/A N/A Resource rejects invalid values by regular expression. N/A inst N/A Resource1 None None None N/A N/A N/A N/A N/A inst validate_param N/A inst GET id fo N/A N/A N/A N/A N/A wsgiservice exceptions ValidationException N/A e N/A N/A e N/A N/A N/A str e id value fo does not validate. N/A N/A False Expected an exception! N/A test_validation_with_re_mismatch_toolong N/A N/A N/A N/A N/A Resource rejects invalid values by regular expression. N/A inst N/A Resource1 None None None N/A N/A N/A N/A N/A inst validate_param N/A inst GET id fooobarrr N/A N/A N/A N/A N/A wsgiservice exceptions ValidationException N/A e N/A N/A e N/A N/A N/A str e id value fooobarrr does not validate. N/A N/A False Expected an exception! N/A test_with_expires N/A N/A N/A N/A N/A expires decorator correctly sets the Cache-Control header. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res3 N/A res N/A N/A app _handle_request req N/A N/A str res N/A N/A res _headers N/A N/A N/A N/A res _headers N/A Cache-Control max-age=86400 N/A test_with_expires_vary N/A N/A N/A N/A N/A expires decorator can set the Vary header. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res6/uid N/A res N/A N/A app _handle_request req N/A N/A str res N/A N/A res _headers N/A N/A N/A N/A res _headers N/A Cache-Control max-age=86400 N/A N/A N/A N/A res _headers N/A Vary Authorization, Accept N/A test_with_expires_calculations N/A N/A N/A N/A N/A expires decorator correctly sets the Expires header. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4 N/A res N/A N/A app _handle_request req N/A N/A res _headers N/A N/A N/A N/A res _headers N/A Cache-Control max-age=138 N/A N/A N/A N/A res _headers N/A Expires Mon, 20 Apr 2009 17:55:45 GMT N/A test_with_expires_calculations_double_wrapped N/A N/A N/A N/A N/A Wrapped expires decorators work by just using the last one. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4 N/A REQUEST_METHOD POST N/A res N/A N/A app _handle_request req N/A N/A str res N/A N/A res _headers N/A N/A N/A N/A res _headers N/A Cache-Control max-age=138 N/A N/A N/A N/A res _headers N/A Expires Mon, 20 Apr 2009 17:55:45 GMT N/A test_etag_generate N/A N/A N/A N/A N/A ETags are calculated by adding the extension to the custom etag. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A res N/A N/A app _handle_request req N/A N/A res _headers N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A test_etag_generate_json N/A N/A N/A N/A N/A ETags are calculated by adding the extension to the custom etag. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_ACCEPT application/json N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_json" N/A test_etag_generate_json_ext N/A N/A N/A N/A N/A ETags are calculated by adding the extension to the custom etag. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4.json?id=myid N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_json" N/A test_etag_if_match_false N/A N/A N/A N/A N/A A GET request with a non-matching If-Match returns 412. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_MATCH "otherid" N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 412 Precondition Failed N/A test_etag_if_match_true N/A N/A N/A N/A N/A A GET request with a matching If-Match passes. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_MATCH "myid_xml" N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 200 OK N/A test_etag_if_match_not_set N/A N/A N/A N/A N/A A GET request without an If-Match header passes. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 200 OK N/A test_etag_if_none_match_get_true N/A N/A N/A N/A N/A A GET request with a matching If-None-Match returns 304. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_NONE_MATCH "myid_xml" N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res body N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 304 Not Modified N/A N/A Content-Type N/A res headers N/A test_etag_if_none_match_head_true N/A N/A N/A N/A N/A A HEAD request with a matching If-None-Match returns 304. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_NONE_MATCH REQUEST_METHOD "myid_xml" HEAD N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res body N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 304 Not Modified N/A test_etag_if_none_match_post_true N/A N/A N/A N/A N/A A POST request with a matching If-None-Match returns 412. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_NONE_MATCH REQUEST_METHOD "myid_xml" POST N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 412 Precondition Failed N/A test_etag_if_none_match_false N/A N/A N/A N/A N/A A GET request with a non-matching If-None-Match executes normally. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_NONE_MATCH "otherid" N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 200 OK N/A test_modified_generate N/A N/A N/A N/A N/A Resource generates a good Last-Modified response header. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A res N/A N/A app _handle_request req N/A N/A res _headers N/A N/A N/A N/A res _headers N/A Last-Modified Fri, 01 May 2009 14:30:00 GMT N/A test_if_modified_since_false N/A N/A N/A N/A N/A A GET request with a matching If-Modified-Since returns 304. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_MODIFIED_SINCE Fri, 01 May 2009 14:30:00 GMT N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res body N/A N/A N/A N/A res _headers N/A Last-Modified Fri, 01 May 2009 14:30:00 GMT N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A res status 304 Not Modified N/A test_if_modified_since_true N/A N/A N/A N/A N/A A GET request with an outdated If-Modified-Since passes. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_MODIFIED_SINCE Fri, 01 May 2009 14:18:10 GMT N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A Last-Modified Fri, 01 May 2009 14:30:00 GMT N/A N/A N/A res status 200 OK N/A test_if_unmodified_since_false N/A N/A N/A N/A N/A A GET request with an outdated If-Unmodified-Since returns 412. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_UNMODIFIED_SINCE Fri, 01 May 2009 12:30:00 GMT N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A N/A res _headers N/A Last-Modified Fri, 01 May 2009 14:30:00 GMT N/A N/A N/A res status 412 Precondition Failed N/A test_if_unmodified_since_false_head N/A N/A N/A N/A N/A A HEAD request with an outdated If-Unmodified-Since returns 412. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_UNMODIFIED_SINCE REQUEST_METHOD Thu, 30 Apr 2009 19:30:00 GMT HEAD N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res body N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A N/A res _headers N/A Last-Modified Fri, 01 May 2009 14:30:00 GMT N/A N/A N/A res status 412 Precondition Failed N/A test_if_unmodified_since_false_post N/A N/A N/A N/A N/A A POST request with an outdated If-Unmodified-Since returns 412. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_UNMODIFIED_SINCE REQUEST_METHOD Thu, 30 Apr 2009 19:30:00 GMT POST N/A res N/A N/A app _handle_request req N/A res N/A N/A res status N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A N/A res _headers N/A Last-Modified Fri, 01 May 2009 14:30:00 GMT N/A N/A N/A res status 412 Precondition Failed N/A test_if_unmodified_since_true N/A N/A N/A N/A N/A A GET request with a current If-Unmodified-Since returns 200. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res4?id=myid N/A HTTP_IF_UNMODIFIED_SINCE REQUEST_METHOD Fri, 01 May 2009 14:30:00 GMT POST N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A N/A res _headers N/A ETag "myid_xml" N/A N/A N/A N/A res _headers N/A Last-Modified Fri, 01 May 2009 14:30:00 GMT N/A N/A N/A res status 200 OK N/A test_verify_content_md5_invalid N/A N/A N/A N/A N/A A request with a body that does not match Content-MD5 returns 400. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res1/theid N/A HTTP_CONTENT_MD5 wsgi.input 89d5739baabbbe65be35cbe61c88e06d N/A N/A StringIO StringIO foobar N/A res N/A N/A app _handle_request req N/A res N/A N/A res status N/A N/A res _headers N/A N/A ETag N/A res _headers N/A N/A Last-Modified N/A res _headers N/A N/A N/A res status 400 Bad Request N/A N/A N/A res body <response><error>Invalid Content-MD5 request header.</error></response> N/A test_verify_content_md5_valid N/A N/A N/A N/A N/A A request with a body that matches Content-MD5 passes. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res1/theid N/A HTTP_CONTENT_MD5 89d5739baabbbe65be35cbe61c88e06d N/A N/A req body_file N/A N/A StringIO StringIO Foobar N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 200 OK N/A test_exception_json N/A N/A N/A N/A N/A An exception is serialized as a dictionary in JSON. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res5?throw=1 N/A HTTP_ACCEPT application/json N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 500 Internal Server Error N/A N/A N/A res body {"error": "Some random exception."} N/A test_exception_xml N/A N/A N/A N/A N/A An exception is serialized as an error response in XML. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res5?throw=1 N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 500 Internal Server Error N/A N/A N/A res body <response><error>Some random exception.</error></response> N/A test_res6_default N/A N/A N/A N/A N/A Resource6 works normally for keys which exist on the resource. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res6/uid N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 200 OK N/A N/A N/A res body <response>works</response> N/A test_notfound_xml N/A N/A N/A N/A N/A Requests that cause a NOT_FOUND exception return 404. N/A app N/A N/A wsgiservice get_app N/A globals N/A req N/A N/A Request blank /res6/foo N/A res N/A N/A app _handle_request req N/A res N/A N/A N/A res status 404 Not Found N/A N/A N/A res body <response><error>Not Found</error></response> N/A AbstractResource N/A N/A wsgiservice Resource N/A N/A This resource should not be added to the application as it doesn't
    have a path. (Verified by test_getapp)
     N/A Resource1 N/A N/A wsgiservice Resource N/A N/A _path /res1/{id} N/A _validations N/A id N/A re [a-z]{5} GET N/A N/A self id foo N/A N/A N/A N/A N/A GET was called with id {0}, foo {1} format id foo N/A POST N/A N/A self id foo N/A N/A N/A N/A N/A POST was called with id {0}, foo {1} format id foo N/A N/A N/A POST _validations N/A foo N/A re [0-9]+ N/A Resource2 N/A N/A wsgiservice Resource N/A N/A _path /res2 POST N/A N/A self N/A N/A N/A N/A N/A wsgiservice raise_201 self /res2/test N/A PUT N/A N/A self N/A N/A N/A N/A N/A wsgiservice raise_201 self foo N/A N/A Resource3 N/A AbstractResource N/A N/A _path /res3 GET N/A N/A self id N/A N/A N/A N/A N/A Called with id: {0} format id N/A N/A N/A wsgiservice expires N/A timedelta days 1 N/A Resource4 N/A N/A wsgiservice Resource N/A N/A _path /res4 GET N/A N/A self id N/A N/A N/A N/A N/A Called with id: {0} format id N/A N/A N/A wsgiservice expires 138 currtime N/A N/A N/A N/A 1240250007 POST N/A N/A self id N/A N/A N/A N/A N/A POST Called with id: {0} format id N/A N/A N/A wsgiservice expires 139 currtime N/A N/A N/A N/A 1240250007 N/A N/A wsgiservice expires 138 currtime N/A N/A N/A N/A 1240250007 get_etag N/A N/A self id N/A N/A N/A id N/A N/A N/A N/A N/A id N/A 0 " N/A id N/A 1 N/A get_last_modified N/A N/A self id N/A N/A webob UTC datetime datetime N/A N/A datetime 2009 5 1 14 30 tzinfo UTC N/A N/A Resource5 N/A N/A wsgiservice Resource N/A N/A _path /res5 GET N/A N/A self throw N/A N/A N/A N/A throw 1 N/A N/A N/A Exception Some random exception. N/A N/A Throwing nothing N/A N/A Resource6 N/A N/A wsgiservice Resource N/A DummyException N/A Exception N/A N/A N/A N/A NOT_FOUND N/A KeyError DummyException N/A _path /res6/{id} N/A items N/A uid works GET N/A N/A self id N/A N/A N/A N/A N/A self items N/A id N/A N/A N/A wsgiservice expires N/A timedelta days 1 vary N/A Authorization N/A NotAResource N/A N/A __getattr__ N/A N/A self name N/A N/A N/A name N/A N/A N/A not_a_class N/A NotAResource