Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Assert CompareIs NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareIs Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num ListLoad Str Str TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body 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 defaults body Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Str Assert CompareEq Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad NameLoad Str Assert CompareEq Call NameLoad NameLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Dict Assert CompareEq SubscriptLoad NameLoad Index Str Str Assert CompareIn Str Call AttributeLoad NameLoad attr decorator_list
N/A N/A 
    tests.exceptions
    ~~~~~~~~~~~~~~~~

    The tests for the exception classes.

    TODO:

    -   This is undertested.  HTML is never checked

    :copyright: (c) 2014 by Armin Ronacher.
    :license: BSD, see LICENSE for more details.
 N/A pytest werkzeug exceptions werkzeug.wrappers Response werkzeug._compat text_type test_proxy_exception N/A N/A N/A N/A N/A orig_resp N/A Response Hello World N/A N/A N/A pytest raises N/A exceptions HTTPException excinfo N/A N/A N/A N/A exceptions abort orig_resp N/A resp N/A N/A N/A excinfo value get_response N/A N/A N/A resp orig_resp N/A N/A N/A N/A resp get_data Hello World N/A test_aborter_general N/A N/A test N/A N/A N/A exc_type N/A test N/A 0 N/A args N/A test N/A 1 N/A N/A N/A pytest raises exc_type exc_info N/A N/A N/A N/A exceptions abort args N/A N/A N/A type N/A exc_info value exc_type N/A N/A N/A N/A pytest mark parametrize test N/A N/A N/A exceptions BadRequest 400 N/A N/A exceptions Unauthorized 401 N/A N/A exceptions Forbidden 403 N/A N/A exceptions NotFound 404 N/A N/A exceptions MethodNotAllowed 405 N/A GET HEAD N/A N/A exceptions NotAcceptable 406 N/A N/A exceptions RequestTimeout 408 N/A N/A exceptions Gone 410 N/A N/A exceptions LengthRequired 411 N/A N/A exceptions PreconditionFailed 412 N/A N/A exceptions RequestEntityTooLarge 413 N/A N/A exceptions RequestURITooLarge 414 N/A N/A exceptions UnsupportedMediaType 415 N/A N/A exceptions UnprocessableEntity 422 N/A N/A exceptions InternalServerError 500 N/A N/A exceptions NotImplemented 501 N/A N/A exceptions BadGateway 502 N/A N/A exceptions ServiceUnavailable 503 test_aborter_custom N/A N/A N/A N/A N/A myabort N/A N/A exceptions Aborter N/A 1 N/A exceptions NotFound N/A N/A N/A pytest raises LookupError myabort 404 N/A N/A N/A pytest 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 pytest raises N/A exceptions NotFound myabort 404 N/A N/A N/A pytest raises N/A exceptions NotFound myabort 1 N/A test_exception_repr N/A N/A N/A N/A N/A exc N/A N/A exceptions NotFound N/A N/A N/A text_type exc 404: Not Found N/A N/A 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 text_type exc 404: Not Found N/A N/A N/A repr exc <NotFound '404: Not Found'> N/A test_special_exceptions N/A N/A 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 h N/A Allow GET, HEAD, POST N/A N/A The method is not allowed N/A N/A exc get_description N/A