{"action":"opened","number":313,"pull_request":{"url":"https://api.github.com/repos/google/oauth2client/pulls/313","id":45690318,"html_url":"https://github.com/google/oauth2client/pull/313","diff_url":"https://github.com/google/oauth2client/pull/313.diff","patch_url":"https://github.com/google/oauth2client/pull/313.patch","issue_url":"https://api.github.com/repos/google/oauth2client/issues/313","number":313,"state":"open","locked":false,"title":"Adding no-cover pragma to flask util test.","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"body":"As noted in the code, the line never executes since it is in a method that is decorated with `oauth2.required`. But the method's scopes don't match the credentials used. Thus, the\r\ndecorator will force a 302 redirect and the method itself will never be executed.","created_at":"2015-09-22T17:10:06Z","updated_at":"2015-09-22T17:10:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/oauth2client/pulls/313/commits","review_comments_url":"https://api.github.com/repos/google/oauth2client/pulls/313/comments","review_comment_url":"https://api.github.com/repos/google/oauth2client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/oauth2client/issues/313/comments","statuses_url":"https://api.github.com/repos/google/oauth2client/statuses/184fa09d0ac77a20807888bdc5d13ac017ef0300","head":{"label":"dhermes:flask-test-add-pragma","ref":"flask-test-add-pragma","sha":"184fa09d0ac77a20807888bdc5d13ac017ef0300","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"repo":{"id":20973461,"name":"oauth2client","full_name":"dhermes/oauth2client","owner":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhermes/oauth2client","description":null,"fork":true,"url":"https://api.github.com/repos/dhermes/oauth2client","forks_url":"https://api.github.com/repos/dhermes/oauth2client/forks","keys_url":"https://api.github.com/repos/dhermes/oauth2client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhermes/oauth2client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhermes/oauth2client/teams","hooks_url":"https://api.github.com/repos/dhermes/oauth2client/hooks","issue_events_url":"https://api.github.com/repos/dhermes/oauth2client/issues/events{/number}","events_url":"https://api.github.com/repos/dhermes/oauth2client/events","assignees_url":"https://api.github.com/repos/dhermes/oauth2client/assignees{/user}","branches_url":"https://api.github.com/repos/dhermes/oauth2client/branches{/branch}","tags_url":"https://api.github.com/repos/dhermes/oauth2client/tags","blobs_url":"https://api.github.com/repos/dhermes/oauth2client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhermes/oauth2client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhermes/oauth2client/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhermes/oauth2client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhermes/oauth2client/statuses/{sha}","languages_url":"https://api.github.com/repos/dhermes/oauth2client/languages","stargazers_url":"https://api.github.com/repos/dhermes/oauth2client/stargazers","contributors_url":"https://api.github.com/repos/dhermes/oauth2client/contributors","subscribers_url":"https://api.github.com/repos/dhermes/oauth2client/subscribers","subscription_url":"https://api.github.com/repos/dhermes/oauth2client/subscription","commits_url":"https://api.github.com/repos/dhermes/oauth2client/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhermes/oauth2client/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhermes/oauth2client/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhermes/oauth2client/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhermes/oauth2client/contents/{+path}","compare_url":"https://api.github.com/repos/dhermes/oauth2client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhermes/oauth2client/merges","archive_url":"https://api.github.com/repos/dhermes/oauth2client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhermes/oauth2client/downloads","issues_url":"https://api.github.com/repos/dhermes/oauth2client/issues{/number}","pulls_url":"https://api.github.com/repos/dhermes/oauth2client/pulls{/number}","milestones_url":"https://api.github.com/repos/dhermes/oauth2client/milestones{/number}","notifications_url":"https://api.github.com/repos/dhermes/oauth2client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhermes/oauth2client/labels{/name}","releases_url":"https://api.github.com/repos/dhermes/oauth2client/releases{/id}","created_at":"2014-06-18T18:34:02Z","updated_at":"2015-05-03T21:58:08Z","pushed_at":"2015-09-22T17:09:16Z","git_url":"git://github.com/dhermes/oauth2client.git","ssh_url":"git@github.com:dhermes/oauth2client.git","clone_url":"https://github.com/dhermes/oauth2client.git","svn_url":"https://github.com/dhermes/oauth2client","homepage":null,"size":20172,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"8c546e8046d7477243e2a191c9a2bfc44f1a34a4","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":14211461,"name":"oauth2client","full_name":"google/oauth2client","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/oauth2client","description":"This is a Python library for accessing resources protected by OAuth 2.0.","fork":false,"url":"https://api.github.com/repos/google/oauth2client","forks_url":"https://api.github.com/repos/google/oauth2client/forks","keys_url":"https://api.github.com/repos/google/oauth2client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/oauth2client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/oauth2client/teams","hooks_url":"https://api.github.com/repos/google/oauth2client/hooks","issue_events_url":"https://api.github.com/repos/google/oauth2client/issues/events{/number}","events_url":"https://api.github.com/repos/google/oauth2client/events","assignees_url":"https://api.github.com/repos/google/oauth2client/assignees{/user}","branches_url":"https://api.github.com/repos/google/oauth2client/branches{/branch}","tags_url":"https://api.github.com/repos/google/oauth2client/tags","blobs_url":"https://api.github.com/repos/google/oauth2client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/oauth2client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/oauth2client/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/oauth2client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/oauth2client/statuses/{sha}","languages_url":"https://api.github.com/repos/google/oauth2client/languages","stargazers_url":"https://api.github.com/repos/google/oauth2client/stargazers","contributors_url":"https://api.github.com/repos/google/oauth2client/contributors","subscribers_url":"https://api.github.com/repos/google/oauth2client/subscribers","subscription_url":"https://api.github.com/repos/google/oauth2client/subscription","commits_url":"https://api.github.com/repos/google/oauth2client/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/oauth2client/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/oauth2client/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/oauth2client/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/oauth2client/contents/{+path}","compare_url":"https://api.github.com/repos/google/oauth2client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/oauth2client/merges","archive_url":"https://api.github.com/repos/google/oauth2client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/oauth2client/downloads","issues_url":"https://api.github.com/repos/google/oauth2client/issues{/number}","pulls_url":"https://api.github.com/repos/google/oauth2client/pulls{/number}","milestones_url":"https://api.github.com/repos/google/oauth2client/milestones{/number}","notifications_url":"https://api.github.com/repos/google/oauth2client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/oauth2client/labels{/name}","releases_url":"https://api.github.com/repos/google/oauth2client/releases{/id}","created_at":"2013-11-07T18:03:04Z","updated_at":"2015-09-22T06:22:49Z","pushed_at":"2015-09-22T16:58:23Z","git_url":"git://github.com/google/oauth2client.git","ssh_url":"git@github.com:google/oauth2client.git","clone_url":"https://github.com/google/oauth2client.git","svn_url":"https://github.com/google/oauth2client","homepage":"","size":25222,"stargazers_count":242,"watchers_count":242,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":122,"mirror_url":null,"open_issues_count":51,"forks":122,"open_issues":51,"watchers":242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/oauth2client/pulls/313"},"html":{"href":"https://github.com/google/oauth2client/pull/313"},"issue":{"href":"https://api.github.com/repos/google/oauth2client/issues/313"},"comments":{"href":"https://api.github.com/repos/google/oauth2client/issues/313/comments"},"review_comments":{"href":"https://api.github.com/repos/google/oauth2client/pulls/313/comments"},"review_comment":{"href":"https://api.github.com/repos/google/oauth2client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/oauth2client/pulls/313/commits"},"statuses":{"href":"https://api.github.com/repos/google/oauth2client/statuses/184fa09d0ac77a20807888bdc5d13ac017ef0300"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}