Module Expr Str ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias ClassDef bases NameLoad NameLoad NameLoad NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Str attr keyword NameLoad Assign NameStore Str For TupleStore NameStore NameStore Call NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr keyword NameLoad keyword Call NameLoad Call NameLoad NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str kwarg body Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad Call NameLoad NameLoad attr Str attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Dict Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore CompareIn Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad Assign NameStore CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad If Call NameLoad Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str If BoolOpAnd Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index Str BoolOpOr Call AttributeLoad NameLoad attr Str Dict If NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Dict Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Dict Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad NameLoad Return NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Dict Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Dict Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
    rauth.test_service_oauth1
    -------------------------

    Test suite for rauth.service.OAuth1Service.
 base RauthTestCase test_service HttpMixin RequestMixin ServiceMixin rauth.compat parse_qsl quote is_basestring iteritems rauth.service OAuth1Service rauth.session OAUTH1_DEFAULT_TIMEOUT OAuth1Session rauth.utils CaseInsensitiveDict ENTITY_METHODS FORM_URLENCODED copy deepcopy hashlib sha1 mock patch N/A rauth N/A requests N/A json N/A pickle OAuth1ServiceTestCase N/A RauthTestCase RequestMixin ServiceMixin HttpMixin N/A N/A consumer_key 000 N/A consumer_secret 111 N/A access_token 123 N/A access_token_secret 456 setUp N/A N/A self N/A N/A N/A N/A N/A RauthTestCase setUp self N/A N/A self request_token_url http://example.com/request N/A N/A self access_token_url http://example.com/access N/A N/A self authorize_url http://example.com/authorize N/A N/A self base_url http://example.com/api/ N/A N/A self service N/A OAuth1Service N/A self consumer_key N/A self consumer_secret name service request_token_url N/A self request_token_url access_token_url N/A self access_token_url authorize_url N/A self authorize_url base_url N/A self base_url N/A N/A self session N/A N/A N/A self service get_session N/A 123 456 N/A N/A N/A self session request N/A self fake_request N/A N/A N/A self service get_session N/A self fake_get_session N/A fake_get_auth_header N/A N/A self oauth_params realm N/A None N/A N/A auth_header N/A N/A OAuth realm="{realm}" format realm realm N/A params N/A N/A k v N/A iteritems oauth_params N/A N/A params N/A N/A ,{key}="{value}" format key k value N/A quote N/A str v N/A auth_header params N/A auth_header N/A fake_request N/A N/A self method url mock_request mock_random mock_time mock_sig header_auth realm N/A False kwargs N/A N/A fake_random 1 N/A fake_time 1 N/A fake_sig foo N/A fake_sig_meth HMAC-SHA1 N/A fake_nonce N/A N/A N/A sha1 N/A N/A N/A str fake_random encode ascii hexdigest N/A N/A mock_request return_value N/A self response N/A N/A mock_random return_value fake_random N/A N/A mock_time return_value fake_time N/A N/A mock_sig return_value fake_sig N/A method method N/A url N/A N/A N/A self session _set_url url N/A service N/A OAuth1Service N/A self consumer_key N/A self consumer_secret name service request_token_url N/A self request_token_url access_token_url N/A self access_token_url authorize_url N/A self authorize_url base_url N/A self base_url N/A session N/A N/A service get_session N/A N/A self access_token N/A self access_token_secret N/A r N/A N/A session request method url header_auth header_auth realm realm N/A deepcopy kwargs N/A N/A N/A kwargs setdefault headers N/A N/A N/A kwargs N/A headers N/A CaseInsensitiveDict N/A kwargs N/A headers N/A entity_method N/A N/A N/A method upper ENTITY_METHODS N/A entity_method N/A N/A N/A N/A N/A kwargs N/A headers setdefault Content-Type FORM_URLENCODED N/A form_urlencoded N/A N/A N/A N/A kwargs N/A headers get Content-Type FORM_URLENCODED N/A N/A is_basestring N/A N/A kwargs get params N/A N/A N/A kwargs N/A params N/A dict N/A parse_qsl N/A kwargs N/A params N/A N/A N/A is_basestring N/A N/A kwargs get data form_urlencoded N/A N/A N/A kwargs N/A data N/A dict N/A parse_qsl N/A kwargs N/A data N/A oauth_params N/A oauth_consumer_key oauth_nonce oauth_signature_method oauth_timestamp oauth_token oauth_version oauth_signature N/A session consumer_key fake_nonce fake_sig_meth fake_time N/A self access_token N/A session VERSION fake_sig N/A header_auth N/A N/A auth N/A N/A N/A mock_request call_args N/A 1 N/A auth N/A auth_header N/A N/A self fake_get_auth_header oauth_params realm realm N/A N/A N/A self assertEqual N/A N/A N/A auth N/A N/A requests Request headers N/A Authorization auth_header N/A N/A kwargs N/A auth auth N/A N/A entity_method N/A N/A N/A kwargs N/A data N/A N/A N/A kwargs get data N/A N/A form_urlencoded N/A N/A N/A N/A N/A kwargs N/A data update oauth_params N/A N/A N/A N/A kwargs setdefault params N/A N/A N/A N/A N/A kwargs N/A params update oauth_params N/A N/A N/A N/A kwargs setdefault params N/A N/A N/A N/A N/A kwargs N/A params update oauth_params N/A N/A N/A mock_request assert_called_with method url timeout OAUTH1_DEFAULT_TIMEOUT kwargs N/A r N/A N/A N/A patch object N/A N/A rauth session HmacSha1Signature sign N/A N/A patch object N/A rauth session time N/A N/A patch object N/A rauth session random N/A N/A patch object N/A requests Session request fake_get_session N/A N/A self token signature N/A None None N/A N/A N/A self session N/A test_get_session N/A N/A self N/A N/A N/A s N/A N/A N/A self service get_session N/A N/A N/A self assertIsInstance s OAuth1Session N/A test_get_raw_request_token N/A N/A self N/A N/A N/A resp oauth_token=foo&oauth_token_secret=bar N/A N/A N/A self response content resp N/A r N/A N/A N/A self service get_raw_request_token N/A N/A N/A self assertEqual N/A r content resp N/A test_get_raw_request_token_missing_request_token_url N/A N/A self N/A N/A N/A N/A N/A self service request_token_url None N/A resp oauth_token=foo&oauth_token_secret=bar N/A N/A N/A self response content resp N/A N/A N/A self assertRaises TypeError e N/A N/A N/A N/A N/A self service get_raw_request_token N/A N/A N/A self assertEqual N/A str N/A e exception request_token_url must not be None N/A test_get_request_token N/A N/A self N/A N/A N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token N/A N/A N/A self assertEqual request_token foo N/A N/A N/A self assertEqual request_token_secret bar N/A test_get_request_token_with_json_decoder N/A N/A self N/A N/A N/A N/A N/A self response content N/A N/A json dumps N/A oauth_token oauth_token_secret foo bar N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token decoder N/A json loads N/A N/A N/A self assertEqual request_token foo N/A N/A N/A self assertEqual request_token_secret bar N/A test_get_authorize_url N/A N/A self N/A N/A N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token N/A url N/A N/A N/A self service get_authorize_url request_token N/A expected_fmt http://example.com/authorize?oauth_token={0} N/A N/A N/A self assertEqual url N/A N/A expected_fmt format request_token N/A test_get_authorize_url_with_url_encoded_characters N/A N/A self N/A N/A N/A token uDV8XWNLSJjzMUSVfbG1gYHWMjY%3D N/A token_secret e%2Bt9QCndiw1%2BtJbhy5UYVMAPTPo%3D N/A response_fmt oauth_token={0}&oauth_token_secret={1} N/A N/A N/A self response content N/A N/A response_fmt format token token_secret N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token N/A url N/A N/A N/A self service get_authorize_url request_token N/A expected_fmt http://example.com/authorize?oauth_token={0} N/A N/A N/A self assertEqual url N/A N/A expected_fmt format token N/A test_get_raw_access_token N/A N/A self N/A N/A N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token N/A resp oauth_token=foo&oauth_token_secret=bar N/A N/A N/A self response content resp N/A r N/A N/A N/A self service get_raw_access_token request_token request_token_secret N/A N/A N/A self assertEqual N/A r content resp N/A test_get_raw_access_token_missing_access_token_url N/A N/A self N/A N/A N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token N/A N/A N/A self service access_token_url None N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A N/A self assertRaises TypeError e N/A N/A N/A N/A N/A self service get_raw_access_token request_token request_token_secret N/A N/A N/A self assertEqual N/A str N/A e exception access_token_url must not be None N/A test_get_access_token N/A N/A self N/A N/A N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A access_token access_token_secret N/A N/A N/A self service get_access_token request_token request_token_secret N/A N/A N/A self assertEqual access_token foo N/A N/A N/A self assertEqual access_token_secret bar N/A test_get_access_token_with_json_decoder N/A N/A self N/A N/A N/A N/A N/A self response content oauth_token=foo&oauth_token_secret=bar N/A N/A request_token request_token_secret N/A N/A N/A self service get_request_token N/A N/A N/A self response content N/A N/A json dumps N/A oauth_token oauth_token_secret foo bar N/A N/A access_token access_token_secret N/A N/A N/A self service get_access_token request_token request_token_secret decoder N/A json loads N/A N/A N/A self assertEqual access_token foo N/A N/A N/A self assertEqual access_token_secret bar N/A test_request_with_optional_params_oauth_callback N/A N/A self N/A N/A N/A params N/A oauth_callback http://example.com/callback N/A r N/A N/A N/A self session request GET http://example.com/ params params N/A N/A N/A self assert_ok r N/A test_request_with_optional_params_oauth_verifier N/A N/A self N/A N/A N/A params N/A oauth_verifier foo N/A r N/A N/A N/A self session request GET http://example.com/ params params N/A N/A N/A self assert_ok r N/A test_request_with_optional_params_oauth_version N/A N/A self N/A N/A N/A params N/A oauth_verifier foo N/A r N/A N/A N/A self session request GET http://example.com/ params params N/A N/A N/A self assert_ok r N/A test_request_with_optional_params_as_string N/A N/A self N/A N/A N/A params oauth_callback=http://example.com/callback N/A r N/A N/A N/A self session request GET http://example.com/ params params N/A N/A N/A self assert_ok r N/A test_request_with_optional_data_as_string N/A N/A self N/A N/A N/A data oauth_callback=http://example.com/callback N/A r N/A N/A N/A self session request POST http://example.com/ data data N/A N/A N/A self assert_ok r N/A test_request_with_optional_params_with_data N/A N/A self N/A N/A N/A data N/A oauth_callback http://example.com/callback N/A r N/A N/A N/A self session request POST http://example.com/ data data N/A N/A N/A self assert_ok r N/A test_request_with_header_auth N/A N/A self N/A N/A N/A r N/A N/A N/A self session request GET http://example.com/ header_auth True N/A N/A N/A self assert_ok r N/A test_request_with_header_auth_with_realm N/A N/A self N/A N/A N/A r N/A N/A N/A self session request GET http://example.com/ header_auth True realm http://example.com/foo/ N/A N/A N/A self assert_ok r N/A test_get_auth_session N/A N/A self N/A N/A N/A resp oauth_token=foo&oauth_token_secret=bar N/A N/A N/A self response content resp N/A s N/A N/A N/A self service get_auth_session foo bar N/A N/A N/A self assertIsInstance s OAuth1Session N/A test_get_auth_session_with_request_token_response N/A N/A self N/A N/A N/A resp oauth_token=foo&oauth_token_secret=bar N/A N/A N/A self response content resp N/A N/A N/A self service request_token_response ok N/A s N/A N/A N/A self service get_auth_session foo bar N/A N/A N/A self assertEqual N/A s request_token_response ok N/A test_pickle_session N/A N/A self N/A N/A N/A session N/A N/A pickle loads N/A N/A pickle dumps N/A self session N/A N/A session request N/A self fake_request N/A r N/A N/A session request GET http://example.com/ header_auth True N/A N/A N/A self assert_ok r N/A N/A