{"action":"created","comment":{"url":"https://api.github.com/repos/novafloss/responses-helpers/pulls/comments/46967219","id":46967219,"diff_hunk":"@@ -0,0 +1,76 @@\n+=================\n+Responses helpers\n+=================\n+\n+Aims to provide an easy way to mock an entire service API based on `responses`_\n+and a simple dict definition of a service. The idea is to mock everython at\n+start according the definition. Then `responses-helpers` permits to\n+*start/stop* mock locally.\n+\n+Let's mock our favorite search engine::\n+\n+    >>> def fake_duckduckgo_cb(request):\n+    ...     return 200, {}, 'Coincoin!'","path":"README.rst","position":16,"original_position":13,"commit_id":"28efb8b35643d00c0a0825058f51ffb50fd9dad6","original_commit_id":"e7d3d2cc8364f16cf8ec248c99ad9b71b1c07731","user":{"login":"toopy","id":1251906,"avatar_url":"https://avatars.githubusercontent.com/u/1251906?v=3","gravatar_id":"","url":"https://api.github.com/users/toopy","html_url":"https://github.com/toopy","followers_url":"https://api.github.com/users/toopy/followers","following_url":"https://api.github.com/users/toopy/following{/other_user}","gists_url":"https://api.github.com/users/toopy/gists{/gist_id}","starred_url":"https://api.github.com/users/toopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toopy/subscriptions","organizations_url":"https://api.github.com/users/toopy/orgs","repos_url":"https://api.github.com/users/toopy/repos","events_url":"https://api.github.com/users/toopy/events{/privacy}","received_events_url":"https://api.github.com/users/toopy/received_events","type":"User","site_admin":false},"body":"yes","created_at":"2015-12-08T15:31:25Z","updated_at":"2015-12-08T15:31:25Z","html_url":"https://github.com/novafloss/responses-helpers/pull/1#discussion_r46967219","pull_request_url":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/novafloss/responses-helpers/pulls/comments/46967219"},"html":{"href":"https://github.com/novafloss/responses-helpers/pull/1#discussion_r46967219"},"pull_request":{"href":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1","id":52990123,"html_url":"https://github.com/novafloss/responses-helpers/pull/1","diff_url":"https://github.com/novafloss/responses-helpers/pull/1.diff","patch_url":"https://github.com/novafloss/responses-helpers/pull/1.patch","issue_url":"https://api.github.com/repos/novafloss/responses-helpers/issues/1","number":1,"state":"open","locked":false,"title":"Add first implementation","user":{"login":"toopy","id":1251906,"avatar_url":"https://avatars.githubusercontent.com/u/1251906?v=3","gravatar_id":"","url":"https://api.github.com/users/toopy","html_url":"https://github.com/toopy","followers_url":"https://api.github.com/users/toopy/followers","following_url":"https://api.github.com/users/toopy/following{/other_user}","gists_url":"https://api.github.com/users/toopy/gists{/gist_id}","starred_url":"https://api.github.com/users/toopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toopy/subscriptions","organizations_url":"https://api.github.com/users/toopy/orgs","repos_url":"https://api.github.com/users/toopy/repos","events_url":"https://api.github.com/users/toopy/events{/privacy}","received_events_url":"https://api.github.com/users/toopy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-08T14:54:56Z","updated_at":"2015-12-08T15:31:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dab2c52ca9a0ae80c31d1d8c20d0c2d69ffdf338","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1/commits","review_comments_url":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1/comments","review_comment_url":"https://api.github.com/repos/novafloss/responses-helpers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/novafloss/responses-helpers/issues/1/comments","statuses_url":"https://api.github.com/repos/novafloss/responses-helpers/statuses/28efb8b35643d00c0a0825058f51ffb50fd9dad6","head":{"label":"novafloss:poc","ref":"poc","sha":"28efb8b35643d00c0a0825058f51ffb50fd9dad6","user":{"login":"novafloss","id":10771317,"avatar_url":"https://avatars.githubusercontent.com/u/10771317?v=3","gravatar_id":"","url":"https://api.github.com/users/novafloss","html_url":"https://github.com/novafloss","followers_url":"https://api.github.com/users/novafloss/followers","following_url":"https://api.github.com/users/novafloss/following{/other_user}","gists_url":"https://api.github.com/users/novafloss/gists{/gist_id}","starred_url":"https://api.github.com/users/novafloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novafloss/subscriptions","organizations_url":"https://api.github.com/users/novafloss/orgs","repos_url":"https://api.github.com/users/novafloss/repos","events_url":"https://api.github.com/users/novafloss/events{/privacy}","received_events_url":"https://api.github.com/users/novafloss/received_events","type":"Organization","site_admin":false},"repo":{"id":47542591,"name":"responses-helpers","full_name":"novafloss/responses-helpers","owner":{"login":"novafloss","id":10771317,"avatar_url":"https://avatars.githubusercontent.com/u/10771317?v=3","gravatar_id":"","url":"https://api.github.com/users/novafloss","html_url":"https://github.com/novafloss","followers_url":"https://api.github.com/users/novafloss/followers","following_url":"https://api.github.com/users/novafloss/following{/other_user}","gists_url":"https://api.github.com/users/novafloss/gists{/gist_id}","starred_url":"https://api.github.com/users/novafloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novafloss/subscriptions","organizations_url":"https://api.github.com/users/novafloss/orgs","repos_url":"https://api.github.com/users/novafloss/repos","events_url":"https://api.github.com/users/novafloss/events{/privacy}","received_events_url":"https://api.github.com/users/novafloss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novafloss/responses-helpers","description":"","fork":false,"url":"https://api.github.com/repos/novafloss/responses-helpers","forks_url":"https://api.github.com/repos/novafloss/responses-helpers/forks","keys_url":"https://api.github.com/repos/novafloss/responses-helpers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novafloss/responses-helpers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novafloss/responses-helpers/teams","hooks_url":"https://api.github.com/repos/novafloss/responses-helpers/hooks","issue_events_url":"https://api.github.com/repos/novafloss/responses-helpers/issues/events{/number}","events_url":"https://api.github.com/repos/novafloss/responses-helpers/events","assignees_url":"https://api.github.com/repos/novafloss/responses-helpers/assignees{/user}","branches_url":"https://api.github.com/repos/novafloss/responses-helpers/branches{/branch}","tags_url":"https://api.github.com/repos/novafloss/responses-helpers/tags","blobs_url":"https://api.github.com/repos/novafloss/responses-helpers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novafloss/responses-helpers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novafloss/responses-helpers/git/refs{/sha}","trees_url":"https://api.github.com/repos/novafloss/responses-helpers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novafloss/responses-helpers/statuses/{sha}","languages_url":"https://api.github.com/repos/novafloss/responses-helpers/languages","stargazers_url":"https://api.github.com/repos/novafloss/responses-helpers/stargazers","contributors_url":"https://api.github.com/repos/novafloss/responses-helpers/contributors","subscribers_url":"https://api.github.com/repos/novafloss/responses-helpers/subscribers","subscription_url":"https://api.github.com/repos/novafloss/responses-helpers/subscription","commits_url":"https://api.github.com/repos/novafloss/responses-helpers/commits{/sha}","git_commits_url":"https://api.github.com/repos/novafloss/responses-helpers/git/commits{/sha}","comments_url":"https://api.github.com/repos/novafloss/responses-helpers/comments{/number}","issue_comment_url":"https://api.github.com/repos/novafloss/responses-helpers/issues/comments{/number}","contents_url":"https://api.github.com/repos/novafloss/responses-helpers/contents/{+path}","compare_url":"https://api.github.com/repos/novafloss/responses-helpers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novafloss/responses-helpers/merges","archive_url":"https://api.github.com/repos/novafloss/responses-helpers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novafloss/responses-helpers/downloads","issues_url":"https://api.github.com/repos/novafloss/responses-helpers/issues{/number}","pulls_url":"https://api.github.com/repos/novafloss/responses-helpers/pulls{/number}","milestones_url":"https://api.github.com/repos/novafloss/responses-helpers/milestones{/number}","notifications_url":"https://api.github.com/repos/novafloss/responses-helpers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novafloss/responses-helpers/labels{/name}","releases_url":"https://api.github.com/repos/novafloss/responses-helpers/releases{/id}","created_at":"2015-12-07T09:33:04Z","updated_at":"2015-12-07T09:33:04Z","pushed_at":"2015-12-08T15:30:17Z","git_url":"git://github.com/novafloss/responses-helpers.git","ssh_url":"git@github.com:novafloss/responses-helpers.git","clone_url":"https://github.com/novafloss/responses-helpers.git","svn_url":"https://github.com/novafloss/responses-helpers","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"novafloss:master","ref":"master","sha":"c5749de3541eac07e5b4c90164907abded2d5b44","user":{"login":"novafloss","id":10771317,"avatar_url":"https://avatars.githubusercontent.com/u/10771317?v=3","gravatar_id":"","url":"https://api.github.com/users/novafloss","html_url":"https://github.com/novafloss","followers_url":"https://api.github.com/users/novafloss/followers","following_url":"https://api.github.com/users/novafloss/following{/other_user}","gists_url":"https://api.github.com/users/novafloss/gists{/gist_id}","starred_url":"https://api.github.com/users/novafloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novafloss/subscriptions","organizations_url":"https://api.github.com/users/novafloss/orgs","repos_url":"https://api.github.com/users/novafloss/repos","events_url":"https://api.github.com/users/novafloss/events{/privacy}","received_events_url":"https://api.github.com/users/novafloss/received_events","type":"Organization","site_admin":false},"repo":{"id":47542591,"name":"responses-helpers","full_name":"novafloss/responses-helpers","owner":{"login":"novafloss","id":10771317,"avatar_url":"https://avatars.githubusercontent.com/u/10771317?v=3","gravatar_id":"","url":"https://api.github.com/users/novafloss","html_url":"https://github.com/novafloss","followers_url":"https://api.github.com/users/novafloss/followers","following_url":"https://api.github.com/users/novafloss/following{/other_user}","gists_url":"https://api.github.com/users/novafloss/gists{/gist_id}","starred_url":"https://api.github.com/users/novafloss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novafloss/subscriptions","organizations_url":"https://api.github.com/users/novafloss/orgs","repos_url":"https://api.github.com/users/novafloss/repos","events_url":"https://api.github.com/users/novafloss/events{/privacy}","received_events_url":"https://api.github.com/users/novafloss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novafloss/responses-helpers","description":"","fork":false,"url":"https://api.github.com/repos/novafloss/responses-helpers","forks_url":"https://api.github.com/repos/novafloss/responses-helpers/forks","keys_url":"https://api.github.com/repos/novafloss/responses-helpers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novafloss/responses-helpers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novafloss/responses-helpers/teams","hooks_url":"https://api.github.com/repos/novafloss/responses-helpers/hooks","issue_events_url":"https://api.github.com/repos/novafloss/responses-helpers/issues/events{/number}","events_url":"https://api.github.com/repos/novafloss/responses-helpers/events","assignees_url":"https://api.github.com/repos/novafloss/responses-helpers/assignees{/user}","branches_url":"https://api.github.com/repos/novafloss/responses-helpers/branches{/branch}","tags_url":"https://api.github.com/repos/novafloss/responses-helpers/tags","blobs_url":"https://api.github.com/repos/novafloss/responses-helpers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novafloss/responses-helpers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novafloss/responses-helpers/git/refs{/sha}","trees_url":"https://api.github.com/repos/novafloss/responses-helpers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novafloss/responses-helpers/statuses/{sha}","languages_url":"https://api.github.com/repos/novafloss/responses-helpers/languages","stargazers_url":"https://api.github.com/repos/novafloss/responses-helpers/stargazers","contributors_url":"https://api.github.com/repos/novafloss/responses-helpers/contributors","subscribers_url":"https://api.github.com/repos/novafloss/responses-helpers/subscribers","subscription_url":"https://api.github.com/repos/novafloss/responses-helpers/subscription","commits_url":"https://api.github.com/repos/novafloss/responses-helpers/commits{/sha}","git_commits_url":"https://api.github.com/repos/novafloss/responses-helpers/git/commits{/sha}","comments_url":"https://api.github.com/repos/novafloss/responses-helpers/comments{/number}","issue_comment_url":"https://api.github.com/repos/novafloss/responses-helpers/issues/comments{/number}","contents_url":"https://api.github.com/repos/novafloss/responses-helpers/contents/{+path}","compare_url":"https://api.github.com/repos/novafloss/responses-helpers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novafloss/responses-helpers/merges","archive_url":"https://api.github.com/repos/novafloss/responses-helpers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novafloss/responses-helpers/downloads","issues_url":"https://api.github.com/repos/novafloss/responses-helpers/issues{/number}","pulls_url":"https://api.github.com/repos/novafloss/responses-helpers/pulls{/number}","milestones_url":"https://api.github.com/repos/novafloss/responses-helpers/milestones{/number}","notifications_url":"https://api.github.com/repos/novafloss/responses-helpers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novafloss/responses-helpers/labels{/name}","releases_url":"https://api.github.com/repos/novafloss/responses-helpers/releases{/id}","created_at":"2015-12-07T09:33:04Z","updated_at":"2015-12-07T09:33:04Z","pushed_at":"2015-12-08T15:30:17Z","git_url":"git://github.com/novafloss/responses-helpers.git","ssh_url":"git@github.com:novafloss/responses-helpers.git","clone_url":"https://github.com/novafloss/responses-helpers.git","svn_url":"https://github.com/novafloss/responses-helpers","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1"},"html":{"href":"https://github.com/novafloss/responses-helpers/pull/1"},"issue":{"href":"https://api.github.com/repos/novafloss/responses-helpers/issues/1"},"comments":{"href":"https://api.github.com/repos/novafloss/responses-helpers/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/novafloss/responses-helpers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/novafloss/responses-helpers/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/novafloss/responses-helpers/statuses/28efb8b35643d00c0a0825058f51ffb50fd9dad6"}}}}