Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad attr Index Str For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr Str keyword Dict Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword Dict Str Str attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str If CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str body Return Assign NameStore Call NameLoad For NameStore TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Print BinOpMod Str SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str TupleLoad Str Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str If CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str body Return For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Print BinOpMod Str NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A os N/A unittest N/A random N/A json N/A requests urlparse parse_qs N/A path N/A N/A N/A os path dirname N/A N/A os getcwd N/A N/A N/A N/A sys path insert 0 path oauth_hook.hook OAuthHook test_settings TWITTER_ACCESS_TOKEN TWITTER_ACCESS_TOKEN_SECRET test_settings TWITTER_CONSUMER_KEY TWITTER_CONSUMER_SECRET test_settings RDIO_API_KEY RDIO_SHARED_SECRET test_settings IMGUR_CONSUMER_KEY IMGUR_CONSUMER_SECRET IMGUR_ACCESS_TOKEN IMGUR_ACCESS_TOKEN_SECRET N/A N/A OAuthHook consumer_key TWITTER_CONSUMER_KEY N/A N/A OAuthHook consumer_secret TWITTER_CONSUMER_SECRET N/A oauth_hook N/A OAuthHook TWITTER_ACCESS_TOKEN TWITTER_ACCESS_TOKEN_SECRET N/A client N/A N/A requests session hooks N/A pre_request oauth_hook TwitterOAuthTestSuite N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A oauth_hook header_auth True N/A test_rate_limit_GET_urlencoded N/A N/A self N/A N/A N/A N/A oauth_hook header_auth False N/A N/A N/A self test_rate_limit_GET N/A test_rate_limit_GET N/A N/A self N/A N/A N/A response N/A N/A client get http://api.twitter.com/1/account/rate_limit_status.json N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A N/A N/A json loads N/A response content N/A hourly_limit 350 N/A test_status_POST_urlencoded N/A N/A self N/A N/A N/A N/A oauth_hook header_auth False N/A N/A N/A self test_status_POST N/A test_status_POST N/A N/A self N/A N/A N/A message N/A Kind of a random message %s N/A N/A random random N/A response N/A N/A client post http://api.twitter.com/1/statuses/update.json N/A status wrap_links message True N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A N/A N/A json loads N/A response content N/A text message N/A test_status_GET_with_data_urlencoded N/A N/A self N/A N/A N/A N/A oauth_hook header_auth False N/A N/A N/A self test_status_GET_with_data N/A test_status_GET_with_data N/A N/A self N/A N/A N/A response N/A N/A client get http://api.twitter.com/1/statuses/friends.json data N/A user_id 12345 N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_status_GET_with_params_urlencoded N/A N/A self N/A N/A N/A N/A oauth_hook header_auth False N/A N/A N/A self test_status_GET_with_params N/A test_status_GET_with_params N/A N/A self N/A N/A N/A response N/A N/A client get http://api.twitter.com/1/statuses/friends.json params N/A user_id 12345 N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_create_delete_list_urlencoded N/A N/A self N/A N/A N/A N/A oauth_hook header_auth False N/A N/A N/A self test_create_delete_list N/A test_create_delete_list N/A N/A self N/A N/A N/A screen_name N/A N/A N/A json loads N/A N/A N/A client get http://api.twitter.com/1/account/verify_credentials.json content N/A screen_name N/A user_lists N/A N/A N/A json loads N/A N/A N/A client get http://api.twitter.com/1/lists.json data N/A screen_name screen_name content N/A lists N/A list user_lists N/A N/A N/A N/A list N/A name OAuth Request Hook N/A N/A N/A N/A client post http://api.twitter.com/1/lists/destroy.json data N/A list_id N/A list N/A id N/A created_list N/A N/A json loads N/A N/A N/A client post N/A http://api.twitter.com/1/%s/lists.json screen_name data N/A name OAuth Request Hook content N/A list_id N/A created_list N/A id N/A response N/A N/A client delete N/A http://api.twitter.com/1/%s/lists/%s.json N/A screen_name list_id N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A N/A json loads N/A response content created_list N/A test_three_legged_auth N/A N/A self N/A N/A N/A yes_or_no N/A raw_input Do you want to skip Twitter three legged auth test? (y/n): N/A N/A N/A N/A yes_or_no lower N/A y yes N/A N/A N/A twitter_oauth_hook N/A OAuthHook N/A header_auth N/A True False N/A N/A N/A twitter_oauth_hook header_auth header_auth N/A client N/A N/A requests session hooks N/A pre_request twitter_oauth_hook N/A response N/A N/A client post http://api.twitter.com/oauth/request_token data N/A oauth_callback oob N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A parse_qs N/A response content N/A N/A N/A self assertTrue N/A response N/A oauth_token N/A N/A N/A self assertTrue N/A response N/A oauth_token_secret N/A oauth_token N/A response N/A oauth_token N/A oauth_secret N/A response N/A oauth_token_secret N/A N/A Go to https://api.twitter.com/oauth/authenticate?oauth_token=%s and sign in into the application, then enter your PIN N/A oauth_token N/A 0 N/A oauth_verifier N/A raw_input Please enter your PIN: N/A response N/A N/A client post http://api.twitter.com/oauth/access_token N/A oauth_verifier oauth_token oauth_verifier N/A oauth_token N/A 0 N/A response N/A parse_qs N/A response content N/A N/A N/A self assertTrue N/A response N/A oauth_token N/A N/A N/A self assertTrue N/A response N/A oauth_token_secret N/A test_update_profile_image_urlencoded N/A N/A self N/A N/A N/A N/A oauth_hook header_auth False N/A N/A N/A self test_update_profile_image N/A test_update_profile_image N/A N/A self N/A N/A N/A files N/A image N/A hommer.gif N/A open hommer.gif rb N/A response N/A N/A client post http://api.twitter.com/1/account/update_profile_image.json files files N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A RdioOAuthTestSuite N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A rdio_oauth_hook N/A OAuthHook consumer_key RDIO_API_KEY consumer_secret RDIO_SHARED_SECRET header_auth False N/A N/A self client N/A N/A requests session hooks N/A pre_request rdio_oauth_hook N/A test_rdio_oauth_get_token_data N/A N/A self N/A N/A N/A response N/A N/A N/A self client post http://api.rdio.com/oauth/request_token data N/A oauth_callback oob N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A parse_qs N/A response content N/A N/A N/A self assertTrue N/A response N/A oauth_token N/A N/A N/A self assertTrue N/A response N/A oauth_token_secret N/A test_rdio_oauth_get_token_params N/A N/A self N/A N/A N/A N/A N/A self client params N/A oauth_callback oob N/A response N/A N/A N/A self client post http://api.rdio.com/oauth/request_token N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A parse_qs N/A response content N/A N/A N/A self assertTrue N/A response N/A oauth_token N/A N/A N/A self assertTrue N/A response N/A oauth_token_secret N/A N/A ImgurOAuthTestSuite N/A N/A unittest TestCase N/A test_three_legged_auth N/A N/A self N/A N/A N/A yes_or_no N/A raw_input Do you want to skip Imgur three legged auth test? (y/n): N/A N/A N/A N/A yes_or_no lower N/A y yes N/A N/A N/A header_auth N/A True False N/A N/A imgur_oauth_hook N/A OAuthHook consumer_key IMGUR_CONSUMER_KEY consumer_secret IMGUR_CONSUMER_SECRET header_auth header_auth N/A client N/A N/A requests session hooks N/A pre_request imgur_oauth_hook N/A response N/A N/A client post http://api.imgur.com/oauth/request_token N/A qs N/A parse_qs N/A response text N/A oauth_token N/A N/A qs N/A oauth_token N/A 0 N/A oauth_secret N/A N/A qs N/A oauth_token_secret N/A 0 N/A N/A Go to http://api.imgur.com/oauth/authorize?oauth_token=%s and sign in into the application, then enter your PIN oauth_token N/A oauth_verifier N/A raw_input Please enter your PIN: N/A new_imgur_oauth_hook N/A OAuthHook oauth_token oauth_secret IMGUR_CONSUMER_KEY IMGUR_CONSUMER_SECRET header_auth N/A new_client N/A N/A requests session hooks N/A pre_request new_imgur_oauth_hook N/A response N/A N/A new_client post http://api.imgur.com/oauth/access_token N/A oauth_verifier oauth_verifier N/A response N/A parse_qs N/A response content N/A token N/A N/A response N/A oauth_token N/A 0 N/A token_secret N/A N/A response N/A oauth_token_secret N/A 0 N/A N/A N/A self assertTrue token N/A N/A N/A self assertTrue token_secret N/A test_stats N/A N/A self N/A N/A N/A imgur_oauth_hook N/A OAuthHook IMGUR_ACCESS_TOKEN IMGUR_ACCESS_TOKEN_SECRET IMGUR_CONSUMER_KEY IMGUR_CONSUMER_SECRET True N/A client N/A N/A requests session hooks N/A pre_request imgur_oauth_hook N/A response N/A N/A client get http://api.imgur.com/2/account/images.json N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main