{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/toloco/pyoanda/pulls/21","id":41624247,"html_url":"https://github.com/toloco/pyoanda/pull/21","diff_url":"https://github.com/toloco/pyoanda/pull/21.diff","patch_url":"https://github.com/toloco/pyoanda/pull/21.patch","issue_url":"https://api.github.com/repos/toloco/pyoanda/issues/21","number":21,"state":"closed","locked":false,"title":"More robust HTTP call tests.","user":{"login":"elyobo","id":407806,"avatar_url":"https://avatars.githubusercontent.com/u/407806?v=3","gravatar_id":"","url":"https://api.github.com/users/elyobo","html_url":"https://github.com/elyobo","followers_url":"https://api.github.com/users/elyobo/followers","following_url":"https://api.github.com/users/elyobo/following{/other_user}","gists_url":"https://api.github.com/users/elyobo/gists{/gist_id}","starred_url":"https://api.github.com/users/elyobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyobo/subscriptions","organizations_url":"https://api.github.com/users/elyobo/orgs","repos_url":"https://api.github.com/users/elyobo/repos","events_url":"https://api.github.com/users/elyobo/events{/privacy}","received_events_url":"https://api.github.com/users/elyobo/received_events","type":"User","site_admin":false},"body":"Tests multiple successful and failed HTTP responses and mocks the\r\nresponses, rather than mocking the response.ok method so as to use\r\nthe real requests behaviour.","created_at":"2015-08-04T22:16:20Z","updated_at":"2015-08-25T17:46:41Z","closed_at":"2015-08-25T17:46:41Z","merged_at":null,"merge_commit_sha":"f7a154260c2d13193aa8dfc04af7c2e7155feb7b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/toloco/pyoanda/pulls/21/commits","review_comments_url":"https://api.github.com/repos/toloco/pyoanda/pulls/21/comments","review_comment_url":"https://api.github.com/repos/toloco/pyoanda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/toloco/pyoanda/issues/21/comments","statuses_url":"https://api.github.com/repos/toloco/pyoanda/statuses/a38f50a4a5ffcd7b085acdebbb017df22d47cfe3","head":{"label":"elyobo:better-response-tests","ref":"better-response-tests","sha":"a38f50a4a5ffcd7b085acdebbb017df22d47cfe3","user":{"login":"elyobo","id":407806,"avatar_url":"https://avatars.githubusercontent.com/u/407806?v=3","gravatar_id":"","url":"https://api.github.com/users/elyobo","html_url":"https://github.com/elyobo","followers_url":"https://api.github.com/users/elyobo/followers","following_url":"https://api.github.com/users/elyobo/following{/other_user}","gists_url":"https://api.github.com/users/elyobo/gists{/gist_id}","starred_url":"https://api.github.com/users/elyobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyobo/subscriptions","organizations_url":"https://api.github.com/users/elyobo/orgs","repos_url":"https://api.github.com/users/elyobo/repos","events_url":"https://api.github.com/users/elyobo/events{/privacy}","received_events_url":"https://api.github.com/users/elyobo/received_events","type":"User","site_admin":false},"repo":{"id":39427037,"name":"pyoanda","full_name":"elyobo/pyoanda","owner":{"login":"elyobo","id":407806,"avatar_url":"https://avatars.githubusercontent.com/u/407806?v=3","gravatar_id":"","url":"https://api.github.com/users/elyobo","html_url":"https://github.com/elyobo","followers_url":"https://api.github.com/users/elyobo/followers","following_url":"https://api.github.com/users/elyobo/following{/other_user}","gists_url":"https://api.github.com/users/elyobo/gists{/gist_id}","starred_url":"https://api.github.com/users/elyobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyobo/subscriptions","organizations_url":"https://api.github.com/users/elyobo/orgs","repos_url":"https://api.github.com/users/elyobo/repos","events_url":"https://api.github.com/users/elyobo/events{/privacy}","received_events_url":"https://api.github.com/users/elyobo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elyobo/pyoanda","description":"Oanda’s API python wrapper. Robust and Fast API wrapper for your Forex bot Python library that wraps Oanda API. Built on top of requests, it’s easy to use and makes sense.","fork":true,"url":"https://api.github.com/repos/elyobo/pyoanda","forks_url":"https://api.github.com/repos/elyobo/pyoanda/forks","keys_url":"https://api.github.com/repos/elyobo/pyoanda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elyobo/pyoanda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elyobo/pyoanda/teams","hooks_url":"https://api.github.com/repos/elyobo/pyoanda/hooks","issue_events_url":"https://api.github.com/repos/elyobo/pyoanda/issues/events{/number}","events_url":"https://api.github.com/repos/elyobo/pyoanda/events","assignees_url":"https://api.github.com/repos/elyobo/pyoanda/assignees{/user}","branches_url":"https://api.github.com/repos/elyobo/pyoanda/branches{/branch}","tags_url":"https://api.github.com/repos/elyobo/pyoanda/tags","blobs_url":"https://api.github.com/repos/elyobo/pyoanda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elyobo/pyoanda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elyobo/pyoanda/git/refs{/sha}","trees_url":"https://api.github.com/repos/elyobo/pyoanda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elyobo/pyoanda/statuses/{sha}","languages_url":"https://api.github.com/repos/elyobo/pyoanda/languages","stargazers_url":"https://api.github.com/repos/elyobo/pyoanda/stargazers","contributors_url":"https://api.github.com/repos/elyobo/pyoanda/contributors","subscribers_url":"https://api.github.com/repos/elyobo/pyoanda/subscribers","subscription_url":"https://api.github.com/repos/elyobo/pyoanda/subscription","commits_url":"https://api.github.com/repos/elyobo/pyoanda/commits{/sha}","git_commits_url":"https://api.github.com/repos/elyobo/pyoanda/git/commits{/sha}","comments_url":"https://api.github.com/repos/elyobo/pyoanda/comments{/number}","issue_comment_url":"https://api.github.com/repos/elyobo/pyoanda/issues/comments{/number}","contents_url":"https://api.github.com/repos/elyobo/pyoanda/contents/{+path}","compare_url":"https://api.github.com/repos/elyobo/pyoanda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elyobo/pyoanda/merges","archive_url":"https://api.github.com/repos/elyobo/pyoanda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elyobo/pyoanda/downloads","issues_url":"https://api.github.com/repos/elyobo/pyoanda/issues{/number}","pulls_url":"https://api.github.com/repos/elyobo/pyoanda/pulls{/number}","milestones_url":"https://api.github.com/repos/elyobo/pyoanda/milestones{/number}","notifications_url":"https://api.github.com/repos/elyobo/pyoanda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elyobo/pyoanda/labels{/name}","releases_url":"https://api.github.com/repos/elyobo/pyoanda/releases{/id}","created_at":"2015-07-21T06:01:14Z","updated_at":"2015-07-21T06:01:14Z","pushed_at":"2015-08-23T10:22:50Z","git_url":"git://github.com/elyobo/pyoanda.git","ssh_url":"git@github.com:elyobo/pyoanda.git","clone_url":"https://github.com/elyobo/pyoanda.git","svn_url":"https://github.com/elyobo/pyoanda","homepage":"","size":249,"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":"toloco:master","ref":"master","sha":"4edaa78662cff38abe2621101d41054a652aade8","user":{"login":"toloco","id":851426,"avatar_url":"https://avatars.githubusercontent.com/u/851426?v=3","gravatar_id":"","url":"https://api.github.com/users/toloco","html_url":"https://github.com/toloco","followers_url":"https://api.github.com/users/toloco/followers","following_url":"https://api.github.com/users/toloco/following{/other_user}","gists_url":"https://api.github.com/users/toloco/gists{/gist_id}","starred_url":"https://api.github.com/users/toloco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toloco/subscriptions","organizations_url":"https://api.github.com/users/toloco/orgs","repos_url":"https://api.github.com/users/toloco/repos","events_url":"https://api.github.com/users/toloco/events{/privacy}","received_events_url":"https://api.github.com/users/toloco/received_events","type":"User","site_admin":false},"repo":{"id":32359901,"name":"pyoanda","full_name":"toloco/pyoanda","owner":{"login":"toloco","id":851426,"avatar_url":"https://avatars.githubusercontent.com/u/851426?v=3","gravatar_id":"","url":"https://api.github.com/users/toloco","html_url":"https://github.com/toloco","followers_url":"https://api.github.com/users/toloco/followers","following_url":"https://api.github.com/users/toloco/following{/other_user}","gists_url":"https://api.github.com/users/toloco/gists{/gist_id}","starred_url":"https://api.github.com/users/toloco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toloco/subscriptions","organizations_url":"https://api.github.com/users/toloco/orgs","repos_url":"https://api.github.com/users/toloco/repos","events_url":"https://api.github.com/users/toloco/events{/privacy}","received_events_url":"https://api.github.com/users/toloco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toloco/pyoanda","description":"Oanda’s API python wrapper. Robust and Fast API wrapper for your Forex bot Python library that wraps Oanda API. Built on top of requests, it’s easy to use and makes sense.","fork":false,"url":"https://api.github.com/repos/toloco/pyoanda","forks_url":"https://api.github.com/repos/toloco/pyoanda/forks","keys_url":"https://api.github.com/repos/toloco/pyoanda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toloco/pyoanda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toloco/pyoanda/teams","hooks_url":"https://api.github.com/repos/toloco/pyoanda/hooks","issue_events_url":"https://api.github.com/repos/toloco/pyoanda/issues/events{/number}","events_url":"https://api.github.com/repos/toloco/pyoanda/events","assignees_url":"https://api.github.com/repos/toloco/pyoanda/assignees{/user}","branches_url":"https://api.github.com/repos/toloco/pyoanda/branches{/branch}","tags_url":"https://api.github.com/repos/toloco/pyoanda/tags","blobs_url":"https://api.github.com/repos/toloco/pyoanda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toloco/pyoanda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toloco/pyoanda/git/refs{/sha}","trees_url":"https://api.github.com/repos/toloco/pyoanda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toloco/pyoanda/statuses/{sha}","languages_url":"https://api.github.com/repos/toloco/pyoanda/languages","stargazers_url":"https://api.github.com/repos/toloco/pyoanda/stargazers","contributors_url":"https://api.github.com/repos/toloco/pyoanda/contributors","subscribers_url":"https://api.github.com/repos/toloco/pyoanda/subscribers","subscription_url":"https://api.github.com/repos/toloco/pyoanda/subscription","commits_url":"https://api.github.com/repos/toloco/pyoanda/commits{/sha}","git_commits_url":"https://api.github.com/repos/toloco/pyoanda/git/commits{/sha}","comments_url":"https://api.github.com/repos/toloco/pyoanda/comments{/number}","issue_comment_url":"https://api.github.com/repos/toloco/pyoanda/issues/comments{/number}","contents_url":"https://api.github.com/repos/toloco/pyoanda/contents/{+path}","compare_url":"https://api.github.com/repos/toloco/pyoanda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toloco/pyoanda/merges","archive_url":"https://api.github.com/repos/toloco/pyoanda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toloco/pyoanda/downloads","issues_url":"https://api.github.com/repos/toloco/pyoanda/issues{/number}","pulls_url":"https://api.github.com/repos/toloco/pyoanda/pulls{/number}","milestones_url":"https://api.github.com/repos/toloco/pyoanda/milestones{/number}","notifications_url":"https://api.github.com/repos/toloco/pyoanda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toloco/pyoanda/labels{/name}","releases_url":"https://api.github.com/repos/toloco/pyoanda/releases{/id}","created_at":"2015-03-16T23:45:44Z","updated_at":"2015-08-18T18:54:01Z","pushed_at":"2015-08-25T17:46:01Z","git_url":"git://github.com/toloco/pyoanda.git","ssh_url":"git@github.com:toloco/pyoanda.git","clone_url":"https://github.com/toloco/pyoanda.git","svn_url":"https://github.com/toloco/pyoanda","homepage":"","size":607,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":11,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/toloco/pyoanda/pulls/21"},"html":{"href":"https://github.com/toloco/pyoanda/pull/21"},"issue":{"href":"https://api.github.com/repos/toloco/pyoanda/issues/21"},"comments":{"href":"https://api.github.com/repos/toloco/pyoanda/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/toloco/pyoanda/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/toloco/pyoanda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/toloco/pyoanda/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/toloco/pyoanda/statuses/a38f50a4a5ffcd7b085acdebbb017df22d47cfe3"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":51,"deletions":33,"changed_files":1}}