Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareEq AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assert CompareEq AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Str attr Str Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str body Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Str attr Str Assert CompareEq SubscriptLoad NameLoad Index Str Str Assert CompareEq SubscriptLoad NameLoad Index Str Str With Call AttributeLoad NameLoad attr Str body Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Str attr Str Assert CompareEq SubscriptLoad NameLoad Index Str Str Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list AttributeLoad NameLoad attr
N/A __future__ unicode_literals N/A pytest N/A mock N/A responses flask Flask flask_dance.contrib.twitter make_twitter_blueprint twitter flask_dance.consumer OAuth1ConsumerBlueprint oauthlib.oauth1.rfc5849.utils parse_authorization_header test_blueprint_factory N/A N/A N/A N/A N/A twitter_bp N/A make_twitter_blueprint api_key foobar api_secret supersecret redirect_to index N/A N/A isinstance twitter_bp OAuth1ConsumerBlueprint N/A N/A N/A N/A twitter_bp session base_url https://api.twitter.com/1.1/ N/A N/A N/A N/A N/A N/A twitter_bp session auth client client_key foobar N/A N/A N/A N/A N/A N/A twitter_bp session auth client client_secret supersecret N/A N/A N/A twitter_bp request_token_url https://api.twitter.com/oauth/request_token N/A N/A N/A twitter_bp access_token_url https://api.twitter.com/oauth/access_token N/A N/A N/A twitter_bp authorization_url https://api.twitter.com/oauth/authorize N/A test_load_from_config N/A N/A N/A N/A N/A N/A N/A responses add N/A responses POST https://api.twitter.com/oauth/request_token body oauth_token=faketoken&oauth_token_secret=fakesecret N/A app N/A Flask __name__ N/A N/A app secret_key anything N/A N/A N/A app config N/A TWITTER_OAUTH_API_KEY foo N/A N/A N/A app config N/A TWITTER_OAUTH_API_SECRET bar N/A twitter_bp N/A make_twitter_blueprint redirect_to index N/A N/A N/A app register_blueprint twitter_bp N/A N/A N/A N/A N/A app test_client get /twitter N/A auth_header N/A dict N/A parse_authorization_header N/A N/A N/A N/A N/A N/A N/A responses calls N/A 0 request headers N/A Authorization decode utf-8 N/A N/A N/A auth_header N/A oauth_consumer_key foo N/A N/A responses activate test_context_local N/A N/A N/A N/A N/A N/A N/A responses add N/A responses GET https://google.com N/A app1 N/A Flask __name__ N/A tbp1 N/A make_twitter_blueprint foo1 bar1 redirect_to url1 N/A N/A N/A app1 register_blueprint tbp1 N/A app2 N/A Flask __name__ N/A tbp2 N/A make_twitter_blueprint foo2 bar2 redirect_to url2 N/A N/A N/A app2 register_blueprint tbp2 N/A N/A N/A pytest raises RuntimeError N/A N/A N/A N/A twitter get https://google.com N/A N/A N/A app1 test_request_context / N/A N/A N/A N/A N/A N/A tbp1 session auth client get_oauth_signature N/A N/A mock Mock return_value sig1 N/A N/A N/A N/A N/A tbp2 session auth client get_oauth_signature N/A N/A mock Mock return_value sig2 N/A N/A N/A app1 preprocess_request N/A N/A N/A twitter get https://google.com N/A auth_header N/A dict N/A parse_authorization_header N/A N/A N/A N/A N/A N/A N/A responses calls N/A 0 request headers N/A Authorization decode utf-8 N/A N/A N/A auth_header N/A oauth_consumer_key foo1 N/A N/A N/A auth_header N/A oauth_signature sig1 N/A N/A N/A app2 test_request_context / N/A N/A N/A N/A N/A N/A tbp1 session auth client get_oauth_signature N/A N/A mock Mock return_value sig1 N/A N/A N/A N/A N/A tbp2 session auth client get_oauth_signature N/A N/A mock Mock return_value sig2 N/A N/A N/A app2 preprocess_request N/A N/A N/A twitter get https://google.com N/A auth_header N/A dict N/A parse_authorization_header N/A N/A N/A N/A N/A N/A N/A responses calls N/A 1 request headers N/A Authorization decode utf-8 N/A N/A N/A auth_header N/A oauth_consumer_key foo2 N/A N/A N/A auth_header N/A oauth_signature sig2 N/A N/A responses activate