{"action":"created","comment":{"url":"https://api.github.com/repos/Yelp/bravado/pulls/comments/32758056","id":32758056,"diff_hunk":"@@ -254,5 +258,60 @@ def setUp(self):\n         self.uut = SwaggerClient.from_resource_listing(self.resource_listing)\n \n \n-if __name__ == '__main__':\n-    unittest.main()\n+class MockHttpClient(object):\n+\n+    def __init__(self, server_response):\n+        self.response = server_response\n+\n+    def request(self, request, response_callback):\n+        return HttpFuture(\n+            mock.Mock(),\n+            mock.Mock(return_value=mock.Mock(","path":"tests/client_test.py","position":30,"original_position":30,"commit_id":"32d565f8c2333379f5dd1a8979613c9fe80a2b9d","original_commit_id":"32d565f8c2333379f5dd1a8979613c9fe80a2b9d","user":{"login":"analogue","id":26757,"avatar_url":"https://avatars.githubusercontent.com/u/26757?v=3","gravatar_id":"","url":"https://api.github.com/users/analogue","html_url":"https://github.com/analogue","followers_url":"https://api.github.com/users/analogue/followers","following_url":"https://api.github.com/users/analogue/following{/other_user}","gists_url":"https://api.github.com/users/analogue/gists{/gist_id}","starred_url":"https://api.github.com/users/analogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analogue/subscriptions","organizations_url":"https://api.github.com/users/analogue/orgs","repos_url":"https://api.github.com/users/analogue/repos","events_url":"https://api.github.com/users/analogue/events{/privacy}","received_events_url":"https://api.github.com/users/analogue/received_events","type":"User","site_admin":false},"body":"Same here.","created_at":"2015-06-18T17:52:33Z","updated_at":"2015-06-18T17:52:33Z","html_url":"https://github.com/Yelp/bravado/pull/150#discussion_r32758056","pull_request_url":"https://api.github.com/repos/Yelp/bravado/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/Yelp/bravado/pulls/comments/32758056"},"html":{"href":"https://github.com/Yelp/bravado/pull/150#discussion_r32758056"},"pull_request":{"href":"https://api.github.com/repos/Yelp/bravado/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/Yelp/bravado/pulls/150","id":36969177,"html_url":"https://github.com/Yelp/bravado/pull/150","diff_url":"https://github.com/Yelp/bravado/pull/150.diff","patch_url":"https://github.com/Yelp/bravado/pull/150.patch","issue_url":"https://api.github.com/repos/Yelp/bravado/issues/150","number":150,"state":"open","locked":false,"title":"Add acceptance test to check allowance of extra fields in the resposne","user":{"login":"prat0318","id":1528697,"avatar_url":"https://avatars.githubusercontent.com/u/1528697?v=3","gravatar_id":"","url":"https://api.github.com/users/prat0318","html_url":"https://github.com/prat0318","followers_url":"https://api.github.com/users/prat0318/followers","following_url":"https://api.github.com/users/prat0318/following{/other_user}","gists_url":"https://api.github.com/users/prat0318/gists{/gist_id}","starred_url":"https://api.github.com/users/prat0318/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prat0318/subscriptions","organizations_url":"https://api.github.com/users/prat0318/orgs","repos_url":"https://api.github.com/users/prat0318/repos","events_url":"https://api.github.com/users/prat0318/events{/privacy}","received_events_url":"https://api.github.com/users/prat0318/received_events","type":"User","site_admin":false},"body":"Fixes #111 ","created_at":"2015-06-04T19:27:40Z","updated_at":"2015-06-18T17:52:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da4a9e10d3c544a4b294d17fcc8d9a84b182dbbe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Yelp/bravado/pulls/150/commits","review_comments_url":"https://api.github.com/repos/Yelp/bravado/pulls/150/comments","review_comment_url":"https://api.github.com/repos/Yelp/bravado/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yelp/bravado/issues/150/comments","statuses_url":"https://api.github.com/repos/Yelp/bravado/statuses/32d565f8c2333379f5dd1a8979613c9fe80a2b9d","head":{"label":"dnephin:test_unknown_fields","ref":"test_unknown_fields","sha":"32d565f8c2333379f5dd1a8979613c9fe80a2b9d","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"repo":{"id":28411944,"name":"swagger-py","full_name":"dnephin/swagger-py","owner":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dnephin/swagger-py","description":"Generic client library for Python2.6 - adopts SwaggerVersion 1.2","fork":true,"url":"https://api.github.com/repos/dnephin/swagger-py","forks_url":"https://api.github.com/repos/dnephin/swagger-py/forks","keys_url":"https://api.github.com/repos/dnephin/swagger-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dnephin/swagger-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dnephin/swagger-py/teams","hooks_url":"https://api.github.com/repos/dnephin/swagger-py/hooks","issue_events_url":"https://api.github.com/repos/dnephin/swagger-py/issues/events{/number}","events_url":"https://api.github.com/repos/dnephin/swagger-py/events","assignees_url":"https://api.github.com/repos/dnephin/swagger-py/assignees{/user}","branches_url":"https://api.github.com/repos/dnephin/swagger-py/branches{/branch}","tags_url":"https://api.github.com/repos/dnephin/swagger-py/tags","blobs_url":"https://api.github.com/repos/dnephin/swagger-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dnephin/swagger-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dnephin/swagger-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/dnephin/swagger-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dnephin/swagger-py/statuses/{sha}","languages_url":"https://api.github.com/repos/dnephin/swagger-py/languages","stargazers_url":"https://api.github.com/repos/dnephin/swagger-py/stargazers","contributors_url":"https://api.github.com/repos/dnephin/swagger-py/contributors","subscribers_url":"https://api.github.com/repos/dnephin/swagger-py/subscribers","subscription_url":"https://api.github.com/repos/dnephin/swagger-py/subscription","commits_url":"https://api.github.com/repos/dnephin/swagger-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/dnephin/swagger-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/dnephin/swagger-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/dnephin/swagger-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/dnephin/swagger-py/contents/{+path}","compare_url":"https://api.github.com/repos/dnephin/swagger-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dnephin/swagger-py/merges","archive_url":"https://api.github.com/repos/dnephin/swagger-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dnephin/swagger-py/downloads","issues_url":"https://api.github.com/repos/dnephin/swagger-py/issues{/number}","pulls_url":"https://api.github.com/repos/dnephin/swagger-py/pulls{/number}","milestones_url":"https://api.github.com/repos/dnephin/swagger-py/milestones{/number}","notifications_url":"https://api.github.com/repos/dnephin/swagger-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dnephin/swagger-py/labels{/name}","releases_url":"https://api.github.com/repos/dnephin/swagger-py/releases{/id}","created_at":"2014-12-23T18:00:38Z","updated_at":"2015-01-21T22:20:10Z","pushed_at":"2015-05-19T23:48:34Z","git_url":"git://github.com/dnephin/swagger-py.git","ssh_url":"git@github.com:dnephin/swagger-py.git","clone_url":"https://github.com/dnephin/swagger-py.git","svn_url":"https://github.com/dnephin/swagger-py","homepage":"","size":1182,"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":"Yelp:master","ref":"master","sha":"ab7259bea3bc7965d8da808d104a77e0f5528808","user":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"repo":{"id":20313056,"name":"bravado","full_name":"Yelp/bravado","owner":{"login":"Yelp","id":49071,"avatar_url":"https://avatars.githubusercontent.com/u/49071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yelp","html_url":"https://github.com/Yelp","followers_url":"https://api.github.com/users/Yelp/followers","following_url":"https://api.github.com/users/Yelp/following{/other_user}","gists_url":"https://api.github.com/users/Yelp/gists{/gist_id}","starred_url":"https://api.github.com/users/Yelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yelp/subscriptions","organizations_url":"https://api.github.com/users/Yelp/orgs","repos_url":"https://api.github.com/users/Yelp/repos","events_url":"https://api.github.com/users/Yelp/events{/privacy}","received_events_url":"https://api.github.com/users/Yelp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yelp/bravado","description":"Bravado is a python client library for Swagger 2.0 services","fork":false,"url":"https://api.github.com/repos/Yelp/bravado","forks_url":"https://api.github.com/repos/Yelp/bravado/forks","keys_url":"https://api.github.com/repos/Yelp/bravado/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yelp/bravado/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yelp/bravado/teams","hooks_url":"https://api.github.com/repos/Yelp/bravado/hooks","issue_events_url":"https://api.github.com/repos/Yelp/bravado/issues/events{/number}","events_url":"https://api.github.com/repos/Yelp/bravado/events","assignees_url":"https://api.github.com/repos/Yelp/bravado/assignees{/user}","branches_url":"https://api.github.com/repos/Yelp/bravado/branches{/branch}","tags_url":"https://api.github.com/repos/Yelp/bravado/tags","blobs_url":"https://api.github.com/repos/Yelp/bravado/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yelp/bravado/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yelp/bravado/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yelp/bravado/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yelp/bravado/statuses/{sha}","languages_url":"https://api.github.com/repos/Yelp/bravado/languages","stargazers_url":"https://api.github.com/repos/Yelp/bravado/stargazers","contributors_url":"https://api.github.com/repos/Yelp/bravado/contributors","subscribers_url":"https://api.github.com/repos/Yelp/bravado/subscribers","subscription_url":"https://api.github.com/repos/Yelp/bravado/subscription","commits_url":"https://api.github.com/repos/Yelp/bravado/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yelp/bravado/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yelp/bravado/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yelp/bravado/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yelp/bravado/contents/{+path}","compare_url":"https://api.github.com/repos/Yelp/bravado/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yelp/bravado/merges","archive_url":"https://api.github.com/repos/Yelp/bravado/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yelp/bravado/downloads","issues_url":"https://api.github.com/repos/Yelp/bravado/issues{/number}","pulls_url":"https://api.github.com/repos/Yelp/bravado/pulls{/number}","milestones_url":"https://api.github.com/repos/Yelp/bravado/milestones{/number}","notifications_url":"https://api.github.com/repos/Yelp/bravado/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yelp/bravado/labels{/name}","releases_url":"https://api.github.com/repos/Yelp/bravado/releases{/id}","created_at":"2014-05-30T01:03:02Z","updated_at":"2015-06-10T19:47:42Z","pushed_at":"2015-06-12T16:13:30Z","git_url":"git://github.com/Yelp/bravado.git","ssh_url":"git@github.com:Yelp/bravado.git","clone_url":"https://github.com/Yelp/bravado.git","svn_url":"https://github.com/Yelp/bravado","homepage":"","size":1892,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":13,"forks":14,"open_issues":13,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yelp/bravado/pulls/150"},"html":{"href":"https://github.com/Yelp/bravado/pull/150"},"issue":{"href":"https://api.github.com/repos/Yelp/bravado/issues/150"},"comments":{"href":"https://api.github.com/repos/Yelp/bravado/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/Yelp/bravado/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/Yelp/bravado/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yelp/bravado/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/Yelp/bravado/statuses/32d565f8c2333379f5dd1a8979613c9fe80a2b9d"}}}}