Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Str 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 Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword NameLoad keyword Str Assert CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam 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 Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore 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 Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Str decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Str decorator_list Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Assert CompareIn Str NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr Str decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str 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 Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Str 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 os N/A tempfile N/A responses flask Flask flask_dance.contrib.jira make_jira_blueprint jira flask_dance.consumer OAuth1ConsumerBlueprint flask_dance.consumer.backend MemoryBackend oauthlib.oauth1.rfc5849.utils parse_authorization_header test_blueprint_factory N/A N/A N/A N/A N/A jira_bp N/A make_jira_blueprint consumer_key foobar rsa_key supersecret base_url https://flask.atlassian.net redirect_to index N/A N/A isinstance jira_bp OAuth1ConsumerBlueprint N/A N/A N/A N/A jira_bp session base_url https://flask.atlassian.net N/A N/A N/A N/A N/A N/A jira_bp session auth client client_key foobar N/A N/A N/A N/A N/A N/A jira_bp session auth client rsa_key supersecret N/A N/A N/A jira_bp request_token_url https://flask.atlassian.net/plugins/servlet/oauth/request-token N/A N/A N/A jira_bp access_token_url https://flask.atlassian.net/plugins/servlet/oauth/access-token N/A N/A N/A jira_bp authorization_url https://flask.atlassian.net/plugins/servlet/oauth/authorize N/A test_rsa_key_file N/A N/A N/A N/A N/A N/A key_fd key_file_path N/A N/A tempfile mkstemp N/A N/A N/A os fdopen key_fd w key_file N/A N/A N/A N/A key_file write my-fake-key N/A jira_bp N/A make_jira_blueprint rsa_key key_file_path base_url https://flask.atlassian.net N/A N/A N/A jira_bp rsa_key my-fake-key N/A N/A N/A os remove key_file_path N/A test_load_from_config N/A N/A sign_func N/A N/A N/A N/A N/A responses add N/A responses POST https://flask.atlassian.net/plugins/servlet/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 JIRA_OAUTH_CONSUMER_KEY foo N/A N/A N/A app config N/A JIRA_OAUTH_RSA_KEY bar N/A jira_bp N/A make_jira_blueprint https://flask.atlassian.net redirect_to index N/A N/A N/A app register_blueprint jira_bp N/A resp N/A N/A N/A N/A app test_client get /jira 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 N/A N/A N/A sign_func call_args N/A 0 N/A 1 bar N/A N/A responses activate N/A N/A mock patch oauthlib.oauth1.rfc5849.signature.sign_rsa_sha1 return_value fakesig test_content_type N/A N/A sign_func N/A N/A N/A N/A N/A responses add N/A responses GET https://flask.atlassian.net/ N/A app N/A Flask __name__ N/A N/A app secret_key anything N/A N/A app debug True N/A backend N/A MemoryBackend N/A oauth_token oauth_token_secret oauth_session_handle oauth_expires_in oauth_authorization_expires_in faketoken fakesecret fakehandle 157680000 160272000 N/A jira_bp N/A make_jira_blueprint https://flask.atlassian.net rsa_key fakersa consumer_key fakekey backend backend N/A N/A N/A app register_blueprint jira_bp api_request N/A N/A N/A N/A N/A N/A N/A N/A jira_bp session get / N/A success N/A N/A N/A app route /test N/A resp N/A N/A N/A N/A app test_client get /test N/A headers N/A N/A N/A N/A responses calls N/A 0 request headers N/A N/A Content-Type headers N/A N/A N/A headers N/A Content-Type N/A N/A application/json encode utf-8 N/A N/A responses activate N/A N/A mock patch oauthlib.oauth1.rfc5849.signature.sign_rsa_sha1 return_value fakesig 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 jbp1 N/A make_jira_blueprint https://t1.atlassian.com foo1 bar1 redirect_to url1 N/A N/A N/A app1 register_blueprint jbp1 N/A app2 N/A Flask __name__ N/A jbp2 N/A make_jira_blueprint https://t2.atlassian.com foo2 bar2 redirect_to url2 N/A N/A N/A app2 register_blueprint jbp2 N/A N/A N/A pytest raises RuntimeError N/A N/A N/A N/A jira 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 jbp1 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 jbp2 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 jira 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 jbp1 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 jbp2 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 jira 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