Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call AttributeLoad NameLoad attr Dict orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Dict Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr CompareIn Str Call AttributeLoad NameLoad attr Dict Str Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A 
    werkzeug.testsuite.exceptions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    The tests for the exception classes.

    TODO:

    -   This is undertested.  HTML is never checked

    :copyright: (c) 2011 by Armin Ronacher.
    :license: BSD, see LICENSE for more details.
 N/A unittest werkzeug.testsuite WerkzeugTestCase werkzeug exceptions werkzeug.wrappers Response ExceptionsTestCase N/A WerkzeugTestCase N/A test_proxy_exception N/A N/A self N/A N/A N/A orig_resp N/A Response Hello World N/A N/A N/A N/A N/A exceptions abort orig_resp N/A N/A N/A N/A exceptions HTTPException N/A e N/A N/A resp N/A N/A e get_response N/A N/A N/A N/A N/A self fail exception not raised N/A N/A N/A self assert_ N/A resp orig_resp N/A N/A N/A self assert_equal N/A resp data Hello World N/A test_aborter N/A N/A self N/A N/A N/A abort N/A exceptions abort N/A N/A N/A self assert_raises N/A exceptions BadRequest abort 400 N/A N/A N/A self assert_raises N/A exceptions Unauthorized abort 401 N/A N/A N/A self assert_raises N/A exceptions Forbidden abort 403 N/A N/A N/A self assert_raises N/A exceptions NotFound abort 404 N/A N/A N/A self assert_raises N/A exceptions MethodNotAllowed abort 405 N/A GET HEAD N/A N/A N/A self assert_raises N/A exceptions NotAcceptable abort 406 N/A N/A N/A self assert_raises N/A exceptions RequestTimeout abort 408 N/A N/A N/A self assert_raises N/A exceptions Gone abort 410 N/A N/A N/A self assert_raises N/A exceptions LengthRequired abort 411 N/A N/A N/A self assert_raises N/A exceptions PreconditionFailed abort 412 N/A N/A N/A self assert_raises N/A exceptions RequestEntityTooLarge abort 413 N/A N/A N/A self assert_raises N/A exceptions RequestURITooLarge abort 414 N/A N/A N/A self assert_raises N/A exceptions UnsupportedMediaType abort 415 N/A N/A N/A self assert_raises N/A exceptions InternalServerError abort 500 N/A N/A N/A self assert_raises N/A exceptions NotImplemented abort 501 N/A N/A N/A self assert_raises N/A exceptions BadGateway abort 502 N/A N/A N/A self assert_raises N/A exceptions ServiceUnavailable abort 503 N/A myabort N/A N/A exceptions Aborter N/A 1 N/A exceptions NotFound N/A N/A N/A self assert_raises LookupError myabort 404 N/A N/A N/A self assert_raises N/A exceptions NotFound myabort 1 N/A myabort N/A N/A exceptions Aborter extra N/A 1 N/A exceptions NotFound N/A N/A N/A self assert_raises N/A exceptions NotFound myabort 404 N/A N/A N/A self assert_raises N/A exceptions NotFound myabort 1 N/A test_exception_repr N/A N/A self N/A N/A N/A exc N/A N/A exceptions NotFound N/A N/A N/A self assert_equal N/A unicode exc 404: Not Found N/A N/A N/A self assert_equal N/A repr exc <NotFound '404: Not Found'> N/A exc N/A N/A exceptions NotFound Not There N/A N/A N/A self assert_equal N/A unicode exc 404: Not There N/A N/A N/A self assert_equal N/A repr exc <NotFound '404: Not There'> N/A test_special_exceptions N/A N/A self N/A N/A N/A exc N/A N/A exceptions MethodNotAllowed N/A GET HEAD POST N/A h N/A dict N/A N/A exc get_headers N/A N/A N/A N/A self assert_equal N/A h N/A Allow GET, HEAD, POST N/A N/A N/A self assert_ N/A The method DELETE is not allowed N/A N/A exc get_description N/A REQUEST_METHOD DELETE N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A unittest makeSuite ExceptionsTestCase N/A suite N/A