{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/socorro/pulls/comments/45336593","id":45336593,"diff_hunk":"@@ -843,3 +843,69 @@ def mocked_supersearch_get(**params):\n \n         # Logged in users with the permission can see exploitability\n         ok_('Exploitability' in response.content)\n+\n+    @mock.patch('requests.get')\n+    def test_signature_summary_with_many_hexes(self, rget):\n+\n+        def mocked_get(url, params, **options):\n+            if '/graphics_devices' in url:\n+                ok_(len(params['vendor_hex']) <= 50)\n+                ok_(len(params['adapter_hex']) <= 50)\n+\n+                return Response({\n+                    'hits': [],\n+                    'total': 0\n+                })\n+\n+            raise NotImplementedError()\n+\n+        rget.side_effect = mocked_get\n+\n+        def mocked_supersearch_get(**params):\n+            ok_('signature' in params)\n+            eq_(params['signature'], ['=' + DUMB_SIGNATURE])\n+\n+            adapters = [\n+                {\n+                    'term': '0x{0:0>4}'.format(i),","path":"webapp-django/crashstats/signature/tests/test_views.py","position":48,"original_position":48,"commit_id":"356daa57d6d20689a1b8eefc4374c3cc76d51428","original_commit_id":"356daa57d6d20689a1b8eefc4374c3cc76d51428","user":{"login":"peterbe","id":26739,"avatar_url":"https://avatars.githubusercontent.com/u/26739?v=3","gravatar_id":"","url":"https://api.github.com/users/peterbe","html_url":"https://github.com/peterbe","followers_url":"https://api.github.com/users/peterbe/followers","following_url":"https://api.github.com/users/peterbe/following{/other_user}","gists_url":"https://api.github.com/users/peterbe/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbe/subscriptions","organizations_url":"https://api.github.com/users/peterbe/orgs","repos_url":"https://api.github.com/users/peterbe/repos","events_url":"https://api.github.com/users/peterbe/events{/privacy}","received_events_url":"https://api.github.com/users/peterbe/received_events","type":"User","site_admin":false},"body":"what does this fancy thing do? :)","created_at":"2015-11-19T12:55:43Z","updated_at":"2015-11-19T12:55:43Z","html_url":"https://github.com/mozilla/socorro/pull/3102#discussion_r45336593","pull_request_url":"https://api.github.com/repos/mozilla/socorro/pulls/3102","_links":{"self":{"href":"https://api.github.com/repos/mozilla/socorro/pulls/comments/45336593"},"html":{"href":"https://github.com/mozilla/socorro/pull/3102#discussion_r45336593"},"pull_request":{"href":"https://api.github.com/repos/mozilla/socorro/pulls/3102"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/socorro/pulls/3102","id":51210311,"html_url":"https://github.com/mozilla/socorro/pull/3102","diff_url":"https://github.com/mozilla/socorro/pull/3102.diff","patch_url":"https://github.com/mozilla/socorro/pull/3102.patch","issue_url":"https://api.github.com/repos/mozilla/socorro/issues/3102","number":3102,"state":"open","locked":false,"title":"Fixes bug 1225447 - Split query to graphics_devices into smaller chun…","user":{"login":"AdrianGaudebert","id":328790,"avatar_url":"https://avatars.githubusercontent.com/u/328790?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianGaudebert","html_url":"https://github.com/AdrianGaudebert","followers_url":"https://api.github.com/users/AdrianGaudebert/followers","following_url":"https://api.github.com/users/AdrianGaudebert/following{/other_user}","gists_url":"https://api.github.com/users/AdrianGaudebert/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianGaudebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianGaudebert/subscriptions","organizations_url":"https://api.github.com/users/AdrianGaudebert/orgs","repos_url":"https://api.github.com/users/AdrianGaudebert/repos","events_url":"https://api.github.com/users/AdrianGaudebert/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianGaudebert/received_events","type":"User","site_admin":false},"body":"…ks to avoid hitting URL size limit.\r\n\r\n@peterbe r?","created_at":"2015-11-19T11:26:52Z","updated_at":"2015-11-19T12:55:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79e69b045827fab6ad22232cd5596ee2f254dabd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/socorro/pulls/3102/commits","review_comments_url":"https://api.github.com/repos/mozilla/socorro/pulls/3102/comments","review_comment_url":"https://api.github.com/repos/mozilla/socorro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/socorro/issues/3102/comments","statuses_url":"https://api.github.com/repos/mozilla/socorro/statuses/356daa57d6d20689a1b8eefc4374c3cc76d51428","head":{"label":"AdrianGaudebert:1225447-graphics-summary-split-query","ref":"1225447-graphics-summary-split-query","sha":"356daa57d6d20689a1b8eefc4374c3cc76d51428","user":{"login":"AdrianGaudebert","id":328790,"avatar_url":"https://avatars.githubusercontent.com/u/328790?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianGaudebert","html_url":"https://github.com/AdrianGaudebert","followers_url":"https://api.github.com/users/AdrianGaudebert/followers","following_url":"https://api.github.com/users/AdrianGaudebert/following{/other_user}","gists_url":"https://api.github.com/users/AdrianGaudebert/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianGaudebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianGaudebert/subscriptions","organizations_url":"https://api.github.com/users/AdrianGaudebert/orgs","repos_url":"https://api.github.com/users/AdrianGaudebert/repos","events_url":"https://api.github.com/users/AdrianGaudebert/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianGaudebert/received_events","type":"User","site_admin":false},"repo":{"id":2353068,"name":"socorro","full_name":"AdrianGaudebert/socorro","owner":{"login":"AdrianGaudebert","id":328790,"avatar_url":"https://avatars.githubusercontent.com/u/328790?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianGaudebert","html_url":"https://github.com/AdrianGaudebert","followers_url":"https://api.github.com/users/AdrianGaudebert/followers","following_url":"https://api.github.com/users/AdrianGaudebert/following{/other_user}","gists_url":"https://api.github.com/users/AdrianGaudebert/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianGaudebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianGaudebert/subscriptions","organizations_url":"https://api.github.com/users/AdrianGaudebert/orgs","repos_url":"https://api.github.com/users/AdrianGaudebert/repos","events_url":"https://api.github.com/users/AdrianGaudebert/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianGaudebert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AdrianGaudebert/socorro","description":"Socorro is a server to accept and process Breakpad crash reports. ","fork":true,"url":"https://api.github.com/repos/AdrianGaudebert/socorro","forks_url":"https://api.github.com/repos/AdrianGaudebert/socorro/forks","keys_url":"https://api.github.com/repos/AdrianGaudebert/socorro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AdrianGaudebert/socorro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AdrianGaudebert/socorro/teams","hooks_url":"https://api.github.com/repos/AdrianGaudebert/socorro/hooks","issue_events_url":"https://api.github.com/repos/AdrianGaudebert/socorro/issues/events{/number}","events_url":"https://api.github.com/repos/AdrianGaudebert/socorro/events","assignees_url":"https://api.github.com/repos/AdrianGaudebert/socorro/assignees{/user}","branches_url":"https://api.github.com/repos/AdrianGaudebert/socorro/branches{/branch}","tags_url":"https://api.github.com/repos/AdrianGaudebert/socorro/tags","blobs_url":"https://api.github.com/repos/AdrianGaudebert/socorro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AdrianGaudebert/socorro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AdrianGaudebert/socorro/git/refs{/sha}","trees_url":"https://api.github.com/repos/AdrianGaudebert/socorro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AdrianGaudebert/socorro/statuses/{sha}","languages_url":"https://api.github.com/repos/AdrianGaudebert/socorro/languages","stargazers_url":"https://api.github.com/repos/AdrianGaudebert/socorro/stargazers","contributors_url":"https://api.github.com/repos/AdrianGaudebert/socorro/contributors","subscribers_url":"https://api.github.com/repos/AdrianGaudebert/socorro/subscribers","subscription_url":"https://api.github.com/repos/AdrianGaudebert/socorro/subscription","commits_url":"https://api.github.com/repos/AdrianGaudebert/socorro/commits{/sha}","git_commits_url":"https://api.github.com/repos/AdrianGaudebert/socorro/git/commits{/sha}","comments_url":"https://api.github.com/repos/AdrianGaudebert/socorro/comments{/number}","issue_comment_url":"https://api.github.com/repos/AdrianGaudebert/socorro/issues/comments{/number}","contents_url":"https://api.github.com/repos/AdrianGaudebert/socorro/contents/{+path}","compare_url":"https://api.github.com/repos/AdrianGaudebert/socorro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AdrianGaudebert/socorro/merges","archive_url":"https://api.github.com/repos/AdrianGaudebert/socorro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AdrianGaudebert/socorro/downloads","issues_url":"https://api.github.com/repos/AdrianGaudebert/socorro/issues{/number}","pulls_url":"https://api.github.com/repos/AdrianGaudebert/socorro/pulls{/number}","milestones_url":"https://api.github.com/repos/AdrianGaudebert/socorro/milestones{/number}","notifications_url":"https://api.github.com/repos/AdrianGaudebert/socorro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AdrianGaudebert/socorro/labels{/name}","releases_url":"https://api.github.com/repos/AdrianGaudebert/socorro/releases{/id}","created_at":"2011-09-09T02:59:03Z","updated_at":"2015-08-07T14:15:18Z","pushed_at":"2015-11-19T11:26:43Z","git_url":"git://github.com/AdrianGaudebert/socorro.git","ssh_url":"git@github.com:AdrianGaudebert/socorro.git","clone_url":"https://github.com/AdrianGaudebert/socorro.git","svn_url":"https://github.com/AdrianGaudebert/socorro","homepage":"https://wiki.mozilla.org/Socorro","size":160933,"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":"mozilla:master","ref":"master","sha":"9b1867ce6d9fa8f7d3befdbab32b8e97def69cf6","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":2263742,"name":"socorro","full_name":"mozilla/socorro","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/socorro","description":"Socorro is a server to accept and process Breakpad crash reports. ","fork":false,"url":"https://api.github.com/repos/mozilla/socorro","forks_url":"https://api.github.com/repos/mozilla/socorro/forks","keys_url":"https://api.github.com/repos/mozilla/socorro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/socorro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/socorro/teams","hooks_url":"https://api.github.com/repos/mozilla/socorro/hooks","issue_events_url":"https://api.github.com/repos/mozilla/socorro/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/socorro/events","assignees_url":"https://api.github.com/repos/mozilla/socorro/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/socorro/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/socorro/tags","blobs_url":"https://api.github.com/repos/mozilla/socorro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/socorro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/socorro/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/socorro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/socorro/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/socorro/languages","stargazers_url":"https://api.github.com/repos/mozilla/socorro/stargazers","contributors_url":"https://api.github.com/repos/mozilla/socorro/contributors","subscribers_url":"https://api.github.com/repos/mozilla/socorro/subscribers","subscription_url":"https://api.github.com/repos/mozilla/socorro/subscription","commits_url":"https://api.github.com/repos/mozilla/socorro/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/socorro/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/socorro/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/socorro/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/socorro/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/socorro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/socorro/merges","archive_url":"https://api.github.com/repos/mozilla/socorro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/socorro/downloads","issues_url":"https://api.github.com/repos/mozilla/socorro/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/socorro/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/socorro/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/socorro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/socorro/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/socorro/releases{/id}","created_at":"2011-08-24T19:21:49Z","updated_at":"2015-11-15T02:51:33Z","pushed_at":"2015-11-19T11:26:52Z","git_url":"git://github.com/mozilla/socorro.git","ssh_url":"git@github.com:mozilla/socorro.git","clone_url":"https://github.com/mozilla/socorro.git","svn_url":"https://github.com/mozilla/socorro","homepage":"https://wiki.mozilla.org/Socorro","size":164068,"stargazers_count":251,"watchers_count":251,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":133,"mirror_url":null,"open_issues_count":9,"forks":133,"open_issues":9,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/socorro/pulls/3102"},"html":{"href":"https://github.com/mozilla/socorro/pull/3102"},"issue":{"href":"https://api.github.com/repos/mozilla/socorro/issues/3102"},"comments":{"href":"https://api.github.com/repos/mozilla/socorro/issues/3102/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/socorro/pulls/3102/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/socorro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/socorro/pulls/3102/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/socorro/statuses/356daa57d6d20689a1b8eefc4374c3cc76d51428"}}}}