Module Import alias ImportFrom alias alias alias TryExcept body ImportFrom alias handlers ExceptHandler body ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return Dict decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Dict Str Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Dict Str Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Str keyword Str body Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num Str keyword Str With Call AttributeLoad NameLoad attr Str keyword Str body Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str keyword Str body Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str keyword Str body Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str keyword Str body Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest flask Flask Blueprint request N/A N/A mock Mock N/A N/A N/A unittest.mock Mock N/A flask N/A flask_restful N/A flask_restful.fields nose.tools assert_true assert_false HelloWorld N/A N/A flask_restful Resource N/A get N/A N/A self N/A N/A N/A N/A N/A N/A GoodbyeWorld N/A N/A flask_restful Resource N/A __init__ N/A N/A self err N/A N/A N/A N/A self err err N/A get N/A N/A self N/A N/A N/A N/A N/A flask abort N/A self err N/A N/A APIWithBlueprintTestCase N/A N/A unittest TestCase N/A test_api_base N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A self assertEquals N/A api urls N/A N/A N/A N/A self assertEquals N/A api prefix N/A N/A N/A self assertEquals N/A api default_mediatype application/json N/A test_api_delayed_initialization N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api N/A N/A N/A api init_app blueprint N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A api add_resource HelloWorld / endpoint hello N/A test_add_resource_endpoint N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint N/A view N/A Mock N/A as_view.return_value N/A Mock __name__ test_view N/A N/A N/A api add_resource view /foo endpoint bar N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A N/A view as_view assert_called_with bar N/A test_add_resource_endpoint_after_registration N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A view N/A Mock N/A as_view.return_value N/A Mock __name__ test_view N/A N/A N/A api add_resource view /foo endpoint bar N/A N/A N/A N/A view as_view assert_called_with bar N/A test_url_with_api_prefix N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint prefix /api N/A N/A N/A api add_resource HelloWorld /hi endpoint hello N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A app test_request_context /api/hi N/A N/A N/A N/A self assertEquals N/A request endpoint test.hello N/A test_url_with_blueprint_prefix N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ url_prefix /bp N/A api N/A N/A flask_restful Api blueprint N/A N/A N/A api add_resource HelloWorld /hi endpoint hello N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A app test_request_context /bp/hi N/A N/A N/A N/A self assertEquals N/A request endpoint test.hello N/A test_url_with_registration_prefix N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint N/A N/A N/A api add_resource HelloWorld /hi endpoint hello N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint url_prefix /reg N/A N/A N/A app test_request_context /reg/hi N/A N/A N/A N/A self assertEquals N/A request endpoint test.hello N/A test_registration_prefix_overrides_blueprint_prefix N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ url_prefix /bp N/A api N/A N/A flask_restful Api blueprint N/A N/A N/A api add_resource HelloWorld /hi endpoint hello N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint url_prefix /reg N/A N/A N/A app test_request_context /reg/hi N/A N/A N/A N/A self assertEquals N/A request endpoint test.hello N/A test_url_with_api_and_blueprint_prefix N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ url_prefix /bp N/A api N/A N/A flask_restful Api blueprint prefix /api N/A N/A N/A api add_resource HelloWorld /hi endpoint hello N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A app test_request_context /bp/api/hi N/A N/A N/A N/A self assertEquals N/A request endpoint test.hello N/A test_url_part_order_aeb N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ url_prefix /bp N/A api N/A N/A flask_restful Api blueprint prefix /api url_part_order aeb N/A N/A N/A api add_resource HelloWorld /hi endpoint hello N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A app test_request_context /api/hi/bp N/A N/A N/A N/A self assertEquals N/A request endpoint test.hello N/A test_error_routing N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint N/A N/A N/A api add_resource N/A HelloWorld /hi endpoint hello N/A N/A N/A api add_resource N/A GoodbyeWorld 404 /bye endpoint bye N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint N/A N/A N/A app test_request_context /hi method POST N/A N/A N/A assert_true N/A N/A api _should_use_fr_error_handler N/A N/A assert_true N/A N/A api _has_fr_route N/A N/A N/A app test_request_context /bye N/A N/A N/A api _should_use_fr_error_handler N/A Mock return_value False N/A N/A assert_true N/A N/A api _has_fr_route N/A test_non_blueprint_rest_error_routing N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint N/A N/A N/A api add_resource N/A HelloWorld /hi endpoint hello N/A N/A N/A api add_resource N/A GoodbyeWorld 404 /bye endpoint bye N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint url_prefix /blueprint N/A api2 N/A N/A flask_restful Api app N/A N/A N/A api2 add_resource N/A HelloWorld /hi endpoint hello N/A N/A N/A api2 add_resource N/A GoodbyeWorld 404 /bye endpoint bye N/A N/A N/A app test_request_context /hi method POST N/A N/A N/A assert_false N/A N/A api _should_use_fr_error_handler N/A N/A assert_true N/A N/A api2 _should_use_fr_error_handler N/A N/A assert_false N/A N/A api _has_fr_route N/A N/A assert_true N/A N/A api2 _has_fr_route N/A N/A N/A app test_request_context /blueprint/hi method POST N/A N/A N/A assert_true N/A N/A api _should_use_fr_error_handler N/A N/A assert_false N/A N/A api2 _should_use_fr_error_handler N/A N/A assert_true N/A N/A api _has_fr_route N/A N/A assert_false N/A N/A api2 _has_fr_route N/A N/A api _should_use_fr_error_handler N/A Mock return_value False N/A N/A api2 _should_use_fr_error_handler N/A Mock return_value False N/A N/A N/A app test_request_context /bye N/A N/A N/A assert_false N/A N/A api _has_fr_route N/A N/A assert_true N/A N/A api2 _has_fr_route N/A N/A N/A app test_request_context /blueprint/bye N/A N/A N/A assert_true N/A N/A api _has_fr_route N/A N/A assert_false N/A N/A api2 _has_fr_route N/A test_non_blueprint_non_rest_error_routing N/A N/A self N/A N/A N/A blueprint N/A Blueprint test __name__ N/A api N/A N/A flask_restful Api blueprint N/A N/A N/A api add_resource N/A HelloWorld /hi endpoint hello N/A N/A N/A api add_resource N/A GoodbyeWorld 404 /bye endpoint bye N/A app N/A Flask __name__ N/A N/A N/A app register_blueprint blueprint url_prefix /blueprint hi N/A N/A N/A N/A N/A hi N/A N/A N/A app route /hi bye N/A N/A N/A N/A N/A N/A N/A flask abort 404 N/A N/A N/A app route /bye N/A N/A N/A app test_request_context /hi method POST N/A N/A N/A assert_false N/A N/A api _should_use_fr_error_handler N/A N/A assert_false N/A N/A api _has_fr_route N/A N/A N/A app test_request_context /blueprint/hi method POST N/A N/A N/A assert_true N/A N/A api _should_use_fr_error_handler N/A N/A assert_true N/A N/A api _has_fr_route N/A N/A api _should_use_fr_error_handler N/A Mock return_value False N/A N/A N/A app test_request_context /bye N/A N/A N/A assert_false N/A N/A api _has_fr_route N/A N/A N/A app test_request_context /blueprint/bye N/A N/A N/A assert_true N/A N/A api _has_fr_route N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main