Module ImportFrom alias Import alias Assign NameStore ListLoad Str Str Assign NameStore TupleLoad Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A flask request N/A re N/A __mime_types__ N/A application/json application/.*\+json N/A __default_names__ N/A request response Fixture N/A object N/A N/A The fixture object represents a single file containing the request
    or response payload. It also keeps track of additional metadata
    required to store itself in the generated fixture directory.

    TODO:
    - polymorph on mime type

    :param data: the fixture payload
    :param name: the name of the fixture (e.g. used as a filename)
    :param app_name: the name of the :class:`Flask` application
    :param request_path: the route from which the payload originated
    :param request_method:  the request method from which the payload
                            originated
    :param is_response: whether the fixture wraps a :class:`Response`
                        or :class:`Request
     __init__ N/A N/A self data name app_name request_path request_method is_response N/A True N/A N/A N/A self data data N/A N/A self name name N/A N/A self app_name app_name N/A N/A self request_path request_path N/A N/A self request_method request_method N/A N/A self is_response is_response N/A payload N/A N/A self N/A N/A N/A N/A N/A N/A self data decode utf-8 N/A property type N/A N/A self N/A N/A N/A json N/A property from_request N/A N/A cls request app name N/A N/A N/A N/A N/A N/A Fixture is_supported N/A request mimetype N/A N/A TypeError N/A fixture N/A cls N/A request data name N/A app name N/A request path N/A request method is_response False N/A fixture N/A classmethod from_response N/A N/A cls response app name N/A N/A N/A N/A N/A N/A Fixture is_supported N/A response mimetype N/A N/A TypeError N/A fixture N/A cls N/A N/A response get_data name N/A app name N/A request path N/A request method N/A fixture N/A classmethod is_supported N/A N/A mime_type N/A N/A N/A supported_mime_type __mime_types__ N/A N/A N/A N/A re match supported_mime_type mime_type N/A N/A True N/A False N/A staticmethod N/A