{"action":"opened","number":114,"pull_request":{"url":"https://api.github.com/repos/HackSoc/csbot/pulls/114","id":87517277,"html_url":"https://github.com/HackSoc/csbot/pull/114","diff_url":"https://github.com/HackSoc/csbot/pull/114.diff","patch_url":"https://github.com/HackSoc/csbot/pull/114.patch","issue_url":"https://api.github.com/repos/HackSoc/csbot/issues/114","number":114,"state":"open","locked":false,"title":"Fix imgur tests by adding extra responses call","user":{"login":"LordAro","id":4007992,"avatar_url":"https://avatars.githubusercontent.com/u/4007992?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAro","html_url":"https://github.com/LordAro","followers_url":"https://api.github.com/users/LordAro/followers","following_url":"https://api.github.com/users/LordAro/following{/other_user}","gists_url":"https://api.github.com/users/LordAro/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAro/subscriptions","organizations_url":"https://api.github.com/users/LordAro/orgs","repos_url":"https://api.github.com/users/LordAro/repos","events_url":"https://api.github.com/users/LordAro/events{/privacy}","received_events_url":"https://api.github.com/users/LordAro/received_events","type":"User","site_admin":false},"body":"imgurpython 1.1.3+ calls out to https://api.imgur.com/3/credits to get\nits initial ratelimit settings. Therefore when the test object was\ninitialised (calling imgurpython __init__), things broke.\n\nMocking that call fixes the issue, and I've also modified the tests a\nbit to use @responses.activate decorator (like the xkcd plugin) rather\nthan creating a new responses object for each function.","created_at":"2016-09-30T15:41:17Z","updated_at":"2016-09-30T15:41:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/HackSoc/csbot/pulls/114/commits","review_comments_url":"https://api.github.com/repos/HackSoc/csbot/pulls/114/comments","review_comment_url":"https://api.github.com/repos/HackSoc/csbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HackSoc/csbot/issues/114/comments","statuses_url":"https://api.github.com/repos/HackSoc/csbot/statuses/8cfb02879b23c3ac01243749767eea4fe4606e73","head":{"label":"LordAro:fix-imgur-test","ref":"fix-imgur-test","sha":"8cfb02879b23c3ac01243749767eea4fe4606e73","user":{"login":"LordAro","id":4007992,"avatar_url":"https://avatars.githubusercontent.com/u/4007992?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAro","html_url":"https://github.com/LordAro","followers_url":"https://api.github.com/users/LordAro/followers","following_url":"https://api.github.com/users/LordAro/following{/other_user}","gists_url":"https://api.github.com/users/LordAro/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAro/subscriptions","organizations_url":"https://api.github.com/users/LordAro/orgs","repos_url":"https://api.github.com/users/LordAro/repos","events_url":"https://api.github.com/users/LordAro/events{/privacy}","received_events_url":"https://api.github.com/users/LordAro/received_events","type":"User","site_admin":false},"repo":{"id":19747201,"name":"csbot","full_name":"LordAro/csbot","owner":{"login":"LordAro","id":4007992,"avatar_url":"https://avatars.githubusercontent.com/u/4007992?v=3","gravatar_id":"","url":"https://api.github.com/users/LordAro","html_url":"https://github.com/LordAro","followers_url":"https://api.github.com/users/LordAro/followers","following_url":"https://api.github.com/users/LordAro/following{/other_user}","gists_url":"https://api.github.com/users/LordAro/gists{/gist_id}","starred_url":"https://api.github.com/users/LordAro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordAro/subscriptions","organizations_url":"https://api.github.com/users/LordAro/orgs","repos_url":"https://api.github.com/users/LordAro/repos","events_url":"https://api.github.com/users/LordAro/events{/privacy}","received_events_url":"https://api.github.com/users/LordAro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LordAro/csbot","description":"An IRC bot and plugin system for the #cs-york channel on irc.freenode.net","fork":true,"url":"https://api.github.com/repos/LordAro/csbot","forks_url":"https://api.github.com/repos/LordAro/csbot/forks","keys_url":"https://api.github.com/repos/LordAro/csbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LordAro/csbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LordAro/csbot/teams","hooks_url":"https://api.github.com/repos/LordAro/csbot/hooks","issue_events_url":"https://api.github.com/repos/LordAro/csbot/issues/events{/number}","events_url":"https://api.github.com/repos/LordAro/csbot/events","assignees_url":"https://api.github.com/repos/LordAro/csbot/assignees{/user}","branches_url":"https://api.github.com/repos/LordAro/csbot/branches{/branch}","tags_url":"https://api.github.com/repos/LordAro/csbot/tags","blobs_url":"https://api.github.com/repos/LordAro/csbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LordAro/csbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LordAro/csbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/LordAro/csbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LordAro/csbot/statuses/{sha}","languages_url":"https://api.github.com/repos/LordAro/csbot/languages","stargazers_url":"https://api.github.com/repos/LordAro/csbot/stargazers","contributors_url":"https://api.github.com/repos/LordAro/csbot/contributors","subscribers_url":"https://api.github.com/repos/LordAro/csbot/subscribers","subscription_url":"https://api.github.com/repos/LordAro/csbot/subscription","commits_url":"https://api.github.com/repos/LordAro/csbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/LordAro/csbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/LordAro/csbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/LordAro/csbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/LordAro/csbot/contents/{+path}","compare_url":"https://api.github.com/repos/LordAro/csbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LordAro/csbot/merges","archive_url":"https://api.github.com/repos/LordAro/csbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LordAro/csbot/downloads","issues_url":"https://api.github.com/repos/LordAro/csbot/issues{/number}","pulls_url":"https://api.github.com/repos/LordAro/csbot/pulls{/number}","milestones_url":"https://api.github.com/repos/LordAro/csbot/milestones{/number}","notifications_url":"https://api.github.com/repos/LordAro/csbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LordAro/csbot/labels{/name}","releases_url":"https://api.github.com/repos/LordAro/csbot/releases{/id}","deployments_url":"https://api.github.com/repos/LordAro/csbot/deployments","created_at":"2014-05-13T16:41:17Z","updated_at":"2016-02-07T19:57:33Z","pushed_at":"2016-09-30T15:41:04Z","git_url":"git://github.com/LordAro/csbot.git","ssh_url":"git@github.com:LordAro/csbot.git","clone_url":"https://github.com/LordAro/csbot.git","svn_url":"https://github.com/LordAro/csbot","homepage":"","size":678,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"HackSoc:master","ref":"master","sha":"2fb243ebfe2302af9b4f67918c6169cc9a4e2694","user":{"login":"HackSoc","id":2779397,"avatar_url":"https://avatars.githubusercontent.com/u/2779397?v=3","gravatar_id":"","url":"https://api.github.com/users/HackSoc","html_url":"https://github.com/HackSoc","followers_url":"https://api.github.com/users/HackSoc/followers","following_url":"https://api.github.com/users/HackSoc/following{/other_user}","gists_url":"https://api.github.com/users/HackSoc/gists{/gist_id}","starred_url":"https://api.github.com/users/HackSoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackSoc/subscriptions","organizations_url":"https://api.github.com/users/HackSoc/orgs","repos_url":"https://api.github.com/users/HackSoc/repos","events_url":"https://api.github.com/users/HackSoc/events{/privacy}","received_events_url":"https://api.github.com/users/HackSoc/received_events","type":"Organization","site_admin":false},"repo":{"id":3900408,"name":"csbot","full_name":"HackSoc/csbot","owner":{"login":"HackSoc","id":2779397,"avatar_url":"https://avatars.githubusercontent.com/u/2779397?v=3","gravatar_id":"","url":"https://api.github.com/users/HackSoc","html_url":"https://github.com/HackSoc","followers_url":"https://api.github.com/users/HackSoc/followers","following_url":"https://api.github.com/users/HackSoc/following{/other_user}","gists_url":"https://api.github.com/users/HackSoc/gists{/gist_id}","starred_url":"https://api.github.com/users/HackSoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackSoc/subscriptions","organizations_url":"https://api.github.com/users/HackSoc/orgs","repos_url":"https://api.github.com/users/HackSoc/repos","events_url":"https://api.github.com/users/HackSoc/events{/privacy}","received_events_url":"https://api.github.com/users/HackSoc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HackSoc/csbot","description":"An IRC bot and plugin system for the #cs-york channel on irc.freenode.net","fork":false,"url":"https://api.github.com/repos/HackSoc/csbot","forks_url":"https://api.github.com/repos/HackSoc/csbot/forks","keys_url":"https://api.github.com/repos/HackSoc/csbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HackSoc/csbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HackSoc/csbot/teams","hooks_url":"https://api.github.com/repos/HackSoc/csbot/hooks","issue_events_url":"https://api.github.com/repos/HackSoc/csbot/issues/events{/number}","events_url":"https://api.github.com/repos/HackSoc/csbot/events","assignees_url":"https://api.github.com/repos/HackSoc/csbot/assignees{/user}","branches_url":"https://api.github.com/repos/HackSoc/csbot/branches{/branch}","tags_url":"https://api.github.com/repos/HackSoc/csbot/tags","blobs_url":"https://api.github.com/repos/HackSoc/csbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HackSoc/csbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HackSoc/csbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/HackSoc/csbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HackSoc/csbot/statuses/{sha}","languages_url":"https://api.github.com/repos/HackSoc/csbot/languages","stargazers_url":"https://api.github.com/repos/HackSoc/csbot/stargazers","contributors_url":"https://api.github.com/repos/HackSoc/csbot/contributors","subscribers_url":"https://api.github.com/repos/HackSoc/csbot/subscribers","subscription_url":"https://api.github.com/repos/HackSoc/csbot/subscription","commits_url":"https://api.github.com/repos/HackSoc/csbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/HackSoc/csbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/HackSoc/csbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/HackSoc/csbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/HackSoc/csbot/contents/{+path}","compare_url":"https://api.github.com/repos/HackSoc/csbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HackSoc/csbot/merges","archive_url":"https://api.github.com/repos/HackSoc/csbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HackSoc/csbot/downloads","issues_url":"https://api.github.com/repos/HackSoc/csbot/issues{/number}","pulls_url":"https://api.github.com/repos/HackSoc/csbot/pulls{/number}","milestones_url":"https://api.github.com/repos/HackSoc/csbot/milestones{/number}","notifications_url":"https://api.github.com/repos/HackSoc/csbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HackSoc/csbot/labels{/name}","releases_url":"https://api.github.com/repos/HackSoc/csbot/releases{/id}","deployments_url":"https://api.github.com/repos/HackSoc/csbot/deployments","created_at":"2012-04-02T12:34:14Z","updated_at":"2016-08-26T08:24:04Z","pushed_at":"2016-09-30T13:54:54Z","git_url":"git://github.com/HackSoc/csbot.git","ssh_url":"git@github.com:HackSoc/csbot.git","clone_url":"https://github.com/HackSoc/csbot.git","svn_url":"https://github.com/HackSoc/csbot","homepage":"","size":746,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":11,"forks":15,"open_issues":11,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HackSoc/csbot/pulls/114"},"html":{"href":"https://github.com/HackSoc/csbot/pull/114"},"issue":{"href":"https://api.github.com/repos/HackSoc/csbot/issues/114"},"comments":{"href":"https://api.github.com/repos/HackSoc/csbot/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/HackSoc/csbot/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/HackSoc/csbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HackSoc/csbot/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/HackSoc/csbot/statuses/8cfb02879b23c3ac01243749767eea4fe4606e73"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":12,"changed_files":2}}
{"actor":{"display_login":"LordAro"}}