Module Import alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Assign NameStore Num Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults kwarg body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad If NameLoad body Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Str Raise Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call NameLoad NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str Dict keyword Call AttributeLoad NameLoad attr Str keyword BoolOpOr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad UnaryOpNot BoolOpOr Call NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str If BoolOpAnd NameLoad UnaryOpNot BoolOpOr Call NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return IfExp Call NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Return Call NameLoad NameLoad keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A json jsonutils requests.adapters HTTPAdapter requests.cookies MockRequest MockResponse requests.cookies RequestsCookieJar requests.cookies merge_cookies cookiejar_from_dict requests.packages.urllib3.response HTTPResponse N/A six requests_mock compat requests_mock exceptions N/A _BODY_ARGS N/A frozenset N/A raw body content text json N/A _HTTP_ARGS N/A frozenset N/A status_code reason headers cookies N/A _DEFAULT_STATUS 200 N/A _http_adapter N/A HTTPAdapter CookieJar N/A RequestsCookieJar N/A set N/A N/A self name value N/A kwargs N/A N/A Add a cookie to the Jar.

        :param str name: cookie name/key.
        :param str value: cookie value.
        :param int version: Integer or None. Netscape cookies have version 0.
            RFC 2965 and RFC 2109 cookies have a version cookie-attribute of 1.
            However, note that cookielib may 'downgrade' RFC 2109 cookies to
            Netscape cookies, in which case version is 0.
        :param str port: String representing a port or a set of ports
            (eg. '80', or '80,8080'),
        :param str domain: The domain the cookie should apply to.
        :param str path: Cookie path (a string, eg. '/acme/rocket_launchers').
        :param bool secure: True if cookie should only be returned over a
            secure connection.
        :param int expires: Integer expiry date in seconds since epoch or None.
        :param bool discard: True if this is a session cookie.
        :param str comment: String comment from the server explaining the
            function of this cookie.
        :param str comment_url: URL linking to a comment from the server
            explaining the function of this cookie.
         N/A N/A N/A N/A super CookieJar self set name value kwargs N/A N/A _check_body_arguments N/A N/A N/A kwargs N/A N/A provided N/A x N/A x _BODY_ARGS N/A N/A N/A kwargs pop x None None N/A N/A N/A len provided 1 N/A N/A N/A RuntimeError N/A You may only supply one body element. You supplied %s N/A N/A ,  join provided N/A extra N/A x N/A x kwargs N/A x _HTTP_ARGS N/A extra N/A N/A N/A TypeError N/A Too many arguments provided. Unexpected arguments %s. N/A N/A ,  join extra N/A _FakeConnection N/A object N/A N/A An object that can mock the necessary parts of a socket interface. send N/A N/A self request N/A kwargs N/A N/A msg This response was created without a connection. You are therefore unable to make a request directly on that connection. N/A N/A N/A exceptions InvalidRequest msg N/A close N/A N/A self N/A N/A N/A N/A N/A _extract_cookies N/A N/A request response cookies N/A N/A N/A Add cookies to the response.

    Cookies in requests are extracted from the headers in the original_response
    httplib.HTTPMessage which we don't create so we have to do this step
    manually.
     N/A http_message N/A N/A compat _FakeHTTPMessage N/A response headers N/A N/A N/A N/A response cookies extract_cookies N/A MockResponse http_message N/A MockRequest request N/A cookies N/A N/A N/A merge_cookies N/A response cookies cookies N/A create_response N/A N/A request N/A kwargs N/A N/A 
    :param int status_code: The status code to return upon a successful
        match. Defaults to 200.
    :param HTTPResponse raw: A HTTPResponse object to return upon a
        successful match.
    :param io.IOBase body: An IO object with a read() method that can
        return a body on successful match.
    :param bytes content: A byte string to return upon a successful match.
    :param unicode text: A text string to return upon a successful match.
    :param object json: A python object to be converted to a JSON string
        and returned upon a successful match.
    :param dict headers: A dictionary object containing headers that are
        returned upon a successful match.
    :param CookieJar cookies: A cookie jar with cookies to set on the
        response.
     N/A connection N/A N/A kwargs pop connection N/A _FakeConnection N/A N/A _check_body_arguments kwargs N/A raw N/A N/A kwargs pop raw None N/A body N/A N/A kwargs pop body None N/A content N/A N/A kwargs pop content None N/A text N/A N/A kwargs pop text None N/A json N/A N/A kwargs pop json None N/A encoding None N/A N/A content N/A N/A isinstance content N/A six binary_type N/A N/A N/A TypeError Content should be a callback or binary data N/A N/A text N/A N/A isinstance text N/A six string_types N/A N/A N/A TypeError Text should be a callback or string data N/A N/A json None N/A N/A text N/A N/A jsonutils dumps json N/A N/A text None N/A N/A encoding utf-8 N/A content N/A N/A text encode encoding N/A N/A content None N/A N/A body N/A N/A six BytesIO content N/A N/A raw N/A N/A raw N/A HTTPResponse status N/A N/A kwargs get status_code _DEFAULT_STATUS headers N/A N/A kwargs get headers N/A reason N/A N/A kwargs get reason body N/A body N/A N/A six BytesIO N/A N/A six b decode_content False preload_content False original_response N/A compat _fake_http_response N/A response N/A N/A _http_adapter build_response request raw N/A N/A response connection connection N/A N/A response encoding encoding N/A N/A _extract_cookies request response N/A N/A kwargs get cookies N/A response N/A _Context N/A object N/A N/A Stores the data being used to process a current URL match. __init__ N/A N/A self headers status_code reason cookies N/A N/A N/A N/A self headers headers N/A N/A self status_code status_code N/A N/A self reason reason N/A N/A self cookies cookies N/A N/A _MatcherResponse N/A object N/A __init__ N/A N/A self N/A kwargs N/A N/A N/A self _exc N/A N/A kwargs pop exc None N/A N/A N/A self _exc kwargs N/A N/A N/A TypeError Cannot provide other arguments with exc. N/A N/A _check_body_arguments kwargs N/A N/A self _params kwargs N/A content N/A N/A N/A self _params get content N/A text N/A N/A N/A self _params get text N/A N/A content N/A N/A N/A callable content N/A isinstance content N/A six binary_type N/A N/A N/A TypeError Content should be a callback or binary data N/A N/A text N/A N/A N/A callable text N/A isinstance text N/A six string_types N/A N/A N/A TypeError Text should be a callback or string data N/A get_response N/A N/A self request N/A N/A N/A N/A self _exc N/A N/A N/A self _exc N/A cookies N/A N/A N/A self _params get cookies N/A CookieJar N/A N/A isinstance cookies dict N/A N/A cookies N/A cookiejar_from_dict cookies N/A CookieJar N/A context N/A _Context N/A N/A N/A N/A N/A self _params get headers N/A copy N/A N/A N/A self _params get status_code _DEFAULT_STATUS N/A N/A N/A self _params get reason cookies _call N/A N/A f N/A args kwargs N/A N/A N/A N/A callable f N/A f request context args kwargs f N/A N/A N/A create_response request json N/A _call N/A N/A N/A self _params get json text N/A _call N/A N/A N/A self _params get text content N/A _call N/A N/A N/A self _params get content body N/A _call N/A N/A N/A self _params get body raw N/A N/A N/A self _params get raw status_code N/A context status_code reason N/A context reason headers N/A context headers cookies N/A context cookies N/A N/A