{"action":"created","comment":{"url":"https://api.github.com/repos/frigg/frigg-hq/pulls/comments/42313843","id":42313843,"diff_hunk":"@@ -16,13 +17,25 @@ def load_fixture(self, fixture):\n         fixtures_path = os.path.join(settings.BASE_DIR, self.FIXTURE_PATH, fixture)\n         return json.load(open(fixtures_path, encoding='utf-8'))\n \n-    def test_command(self):\n-        r = redis.Redis(**settings.REDIS_SETTINGS)\n-        r.lpush(settings.FRIGG_WEBHOOK_QUEUE, json.dumps({\n+    def setUp(self):\n+        self.maxDiff = None\n+        self.r = redis.Redis(**settings.REDIS_SETTINGS)","path":"frigg/webhooks/test_commands.py","position":17,"original_position":17,"commit_id":"d3ce08dd0eb79588d3faec7bd2d867fb19cd968a","original_commit_id":"d3ce08dd0eb79588d3faec7bd2d867fb19cd968a","user":{"login":"frecar","id":410182,"avatar_url":"https://avatars.githubusercontent.com/u/410182?v=3","gravatar_id":"","url":"https://api.github.com/users/frecar","html_url":"https://github.com/frecar","followers_url":"https://api.github.com/users/frecar/followers","following_url":"https://api.github.com/users/frecar/following{/other_user}","gists_url":"https://api.github.com/users/frecar/gists{/gist_id}","starred_url":"https://api.github.com/users/frecar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frecar/subscriptions","organizations_url":"https://api.github.com/users/frecar/orgs","repos_url":"https://api.github.com/users/frecar/repos","events_url":"https://api.github.com/users/frecar/events{/privacy}","received_events_url":"https://api.github.com/users/frecar/received_events","type":"User","site_admin":false},"body":"self.r  -->  self.redis ? ","created_at":"2015-10-17T20:24:10Z","updated_at":"2015-10-17T20:24:10Z","html_url":"https://github.com/frigg/frigg-hq/pull/279#discussion_r42313843","pull_request_url":"https://api.github.com/repos/frigg/frigg-hq/pulls/279","_links":{"self":{"href":"https://api.github.com/repos/frigg/frigg-hq/pulls/comments/42313843"},"html":{"href":"https://github.com/frigg/frigg-hq/pull/279#discussion_r42313843"},"pull_request":{"href":"https://api.github.com/repos/frigg/frigg-hq/pulls/279"}}},"pull_request":{"url":"https://api.github.com/repos/frigg/frigg-hq/pulls/279","id":47949891,"html_url":"https://github.com/frigg/frigg-hq/pull/279","diff_url":"https://github.com/frigg/frigg-hq/pull/279.diff","patch_url":"https://github.com/frigg/frigg-hq/pull/279.patch","issue_url":"https://api.github.com/repos/frigg/frigg-hq/issues/279","number":279,"state":"open","locked":false,"title":"Fix webhook command","user":{"login":"relekang","id":476364,"avatar_url":"https://avatars.githubusercontent.com/u/476364?v=3","gravatar_id":"","url":"https://api.github.com/users/relekang","html_url":"https://github.com/relekang","followers_url":"https://api.github.com/users/relekang/followers","following_url":"https://api.github.com/users/relekang/following{/other_user}","gists_url":"https://api.github.com/users/relekang/gists{/gist_id}","starred_url":"https://api.github.com/users/relekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relekang/subscriptions","organizations_url":"https://api.github.com/users/relekang/orgs","repos_url":"https://api.github.com/users/relekang/repos","events_url":"https://api.github.com/users/relekang/events{/privacy}","received_events_url":"https://api.github.com/users/relekang/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-16T19:23:59Z","updated_at":"2015-10-17T20:24:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"daa3faf158546400be665365138a53002799f8d0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/frigg/frigg-hq/pulls/279/commits","review_comments_url":"https://api.github.com/repos/frigg/frigg-hq/pulls/279/comments","review_comment_url":"https://api.github.com/repos/frigg/frigg-hq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frigg/frigg-hq/issues/279/comments","statuses_url":"https://api.github.com/repos/frigg/frigg-hq/statuses/d3ce08dd0eb79588d3faec7bd2d867fb19cd968a","head":{"label":"frigg:fix/webhook-command","ref":"fix/webhook-command","sha":"d3ce08dd0eb79588d3faec7bd2d867fb19cd968a","user":{"login":"frigg","id":9164846,"avatar_url":"https://avatars.githubusercontent.com/u/9164846?v=3","gravatar_id":"","url":"https://api.github.com/users/frigg","html_url":"https://github.com/frigg","followers_url":"https://api.github.com/users/frigg/followers","following_url":"https://api.github.com/users/frigg/following{/other_user}","gists_url":"https://api.github.com/users/frigg/gists{/gist_id}","starred_url":"https://api.github.com/users/frigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frigg/subscriptions","organizations_url":"https://api.github.com/users/frigg/orgs","repos_url":"https://api.github.com/users/frigg/repos","events_url":"https://api.github.com/users/frigg/events{/privacy}","received_events_url":"https://api.github.com/users/frigg/received_events","type":"Organization","site_admin":false},"repo":{"id":18737218,"name":"frigg-hq","full_name":"frigg/frigg-hq","owner":{"login":"frigg","id":9164846,"avatar_url":"https://avatars.githubusercontent.com/u/9164846?v=3","gravatar_id":"","url":"https://api.github.com/users/frigg","html_url":"https://github.com/frigg","followers_url":"https://api.github.com/users/frigg/followers","following_url":"https://api.github.com/users/frigg/following{/other_user}","gists_url":"https://api.github.com/users/frigg/gists{/gist_id}","starred_url":"https://api.github.com/users/frigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frigg/subscriptions","organizations_url":"https://api.github.com/users/frigg/orgs","repos_url":"https://api.github.com/users/frigg/repos","events_url":"https://api.github.com/users/frigg/events{/privacy}","received_events_url":"https://api.github.com/users/frigg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frigg/frigg-hq","description":"Controller of Frigg CI","fork":false,"url":"https://api.github.com/repos/frigg/frigg-hq","forks_url":"https://api.github.com/repos/frigg/frigg-hq/forks","keys_url":"https://api.github.com/repos/frigg/frigg-hq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frigg/frigg-hq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frigg/frigg-hq/teams","hooks_url":"https://api.github.com/repos/frigg/frigg-hq/hooks","issue_events_url":"https://api.github.com/repos/frigg/frigg-hq/issues/events{/number}","events_url":"https://api.github.com/repos/frigg/frigg-hq/events","assignees_url":"https://api.github.com/repos/frigg/frigg-hq/assignees{/user}","branches_url":"https://api.github.com/repos/frigg/frigg-hq/branches{/branch}","tags_url":"https://api.github.com/repos/frigg/frigg-hq/tags","blobs_url":"https://api.github.com/repos/frigg/frigg-hq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frigg/frigg-hq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frigg/frigg-hq/git/refs{/sha}","trees_url":"https://api.github.com/repos/frigg/frigg-hq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frigg/frigg-hq/statuses/{sha}","languages_url":"https://api.github.com/repos/frigg/frigg-hq/languages","stargazers_url":"https://api.github.com/repos/frigg/frigg-hq/stargazers","contributors_url":"https://api.github.com/repos/frigg/frigg-hq/contributors","subscribers_url":"https://api.github.com/repos/frigg/frigg-hq/subscribers","subscription_url":"https://api.github.com/repos/frigg/frigg-hq/subscription","commits_url":"https://api.github.com/repos/frigg/frigg-hq/commits{/sha}","git_commits_url":"https://api.github.com/repos/frigg/frigg-hq/git/commits{/sha}","comments_url":"https://api.github.com/repos/frigg/frigg-hq/comments{/number}","issue_comment_url":"https://api.github.com/repos/frigg/frigg-hq/issues/comments{/number}","contents_url":"https://api.github.com/repos/frigg/frigg-hq/contents/{+path}","compare_url":"https://api.github.com/repos/frigg/frigg-hq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frigg/frigg-hq/merges","archive_url":"https://api.github.com/repos/frigg/frigg-hq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frigg/frigg-hq/downloads","issues_url":"https://api.github.com/repos/frigg/frigg-hq/issues{/number}","pulls_url":"https://api.github.com/repos/frigg/frigg-hq/pulls{/number}","milestones_url":"https://api.github.com/repos/frigg/frigg-hq/milestones{/number}","notifications_url":"https://api.github.com/repos/frigg/frigg-hq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frigg/frigg-hq/labels{/name}","releases_url":"https://api.github.com/repos/frigg/frigg-hq/releases{/id}","created_at":"2014-04-13T19:03:38Z","updated_at":"2015-07-17T12:59:59Z","pushed_at":"2015-10-17T16:30:19Z","git_url":"git://github.com/frigg/frigg-hq.git","ssh_url":"git@github.com:frigg/frigg-hq.git","clone_url":"https://github.com/frigg/frigg-hq.git","svn_url":"https://github.com/frigg/frigg-hq","homepage":"https://ci.frigg.io","size":3292,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":17,"forks":4,"open_issues":17,"watchers":14,"default_branch":"master"}},"base":{"label":"frigg:master","ref":"master","sha":"96a3e1655d929802aa8187148c915d96da44c074","user":{"login":"frigg","id":9164846,"avatar_url":"https://avatars.githubusercontent.com/u/9164846?v=3","gravatar_id":"","url":"https://api.github.com/users/frigg","html_url":"https://github.com/frigg","followers_url":"https://api.github.com/users/frigg/followers","following_url":"https://api.github.com/users/frigg/following{/other_user}","gists_url":"https://api.github.com/users/frigg/gists{/gist_id}","starred_url":"https://api.github.com/users/frigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frigg/subscriptions","organizations_url":"https://api.github.com/users/frigg/orgs","repos_url":"https://api.github.com/users/frigg/repos","events_url":"https://api.github.com/users/frigg/events{/privacy}","received_events_url":"https://api.github.com/users/frigg/received_events","type":"Organization","site_admin":false},"repo":{"id":18737218,"name":"frigg-hq","full_name":"frigg/frigg-hq","owner":{"login":"frigg","id":9164846,"avatar_url":"https://avatars.githubusercontent.com/u/9164846?v=3","gravatar_id":"","url":"https://api.github.com/users/frigg","html_url":"https://github.com/frigg","followers_url":"https://api.github.com/users/frigg/followers","following_url":"https://api.github.com/users/frigg/following{/other_user}","gists_url":"https://api.github.com/users/frigg/gists{/gist_id}","starred_url":"https://api.github.com/users/frigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frigg/subscriptions","organizations_url":"https://api.github.com/users/frigg/orgs","repos_url":"https://api.github.com/users/frigg/repos","events_url":"https://api.github.com/users/frigg/events{/privacy}","received_events_url":"https://api.github.com/users/frigg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frigg/frigg-hq","description":"Controller of Frigg CI","fork":false,"url":"https://api.github.com/repos/frigg/frigg-hq","forks_url":"https://api.github.com/repos/frigg/frigg-hq/forks","keys_url":"https://api.github.com/repos/frigg/frigg-hq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frigg/frigg-hq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frigg/frigg-hq/teams","hooks_url":"https://api.github.com/repos/frigg/frigg-hq/hooks","issue_events_url":"https://api.github.com/repos/frigg/frigg-hq/issues/events{/number}","events_url":"https://api.github.com/repos/frigg/frigg-hq/events","assignees_url":"https://api.github.com/repos/frigg/frigg-hq/assignees{/user}","branches_url":"https://api.github.com/repos/frigg/frigg-hq/branches{/branch}","tags_url":"https://api.github.com/repos/frigg/frigg-hq/tags","blobs_url":"https://api.github.com/repos/frigg/frigg-hq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frigg/frigg-hq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frigg/frigg-hq/git/refs{/sha}","trees_url":"https://api.github.com/repos/frigg/frigg-hq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frigg/frigg-hq/statuses/{sha}","languages_url":"https://api.github.com/repos/frigg/frigg-hq/languages","stargazers_url":"https://api.github.com/repos/frigg/frigg-hq/stargazers","contributors_url":"https://api.github.com/repos/frigg/frigg-hq/contributors","subscribers_url":"https://api.github.com/repos/frigg/frigg-hq/subscribers","subscription_url":"https://api.github.com/repos/frigg/frigg-hq/subscription","commits_url":"https://api.github.com/repos/frigg/frigg-hq/commits{/sha}","git_commits_url":"https://api.github.com/repos/frigg/frigg-hq/git/commits{/sha}","comments_url":"https://api.github.com/repos/frigg/frigg-hq/comments{/number}","issue_comment_url":"https://api.github.com/repos/frigg/frigg-hq/issues/comments{/number}","contents_url":"https://api.github.com/repos/frigg/frigg-hq/contents/{+path}","compare_url":"https://api.github.com/repos/frigg/frigg-hq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frigg/frigg-hq/merges","archive_url":"https://api.github.com/repos/frigg/frigg-hq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frigg/frigg-hq/downloads","issues_url":"https://api.github.com/repos/frigg/frigg-hq/issues{/number}","pulls_url":"https://api.github.com/repos/frigg/frigg-hq/pulls{/number}","milestones_url":"https://api.github.com/repos/frigg/frigg-hq/milestones{/number}","notifications_url":"https://api.github.com/repos/frigg/frigg-hq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frigg/frigg-hq/labels{/name}","releases_url":"https://api.github.com/repos/frigg/frigg-hq/releases{/id}","created_at":"2014-04-13T19:03:38Z","updated_at":"2015-07-17T12:59:59Z","pushed_at":"2015-10-17T16:30:19Z","git_url":"git://github.com/frigg/frigg-hq.git","ssh_url":"git@github.com:frigg/frigg-hq.git","clone_url":"https://github.com/frigg/frigg-hq.git","svn_url":"https://github.com/frigg/frigg-hq","homepage":"https://ci.frigg.io","size":3292,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":17,"forks":4,"open_issues":17,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/frigg/frigg-hq/pulls/279"},"html":{"href":"https://github.com/frigg/frigg-hq/pull/279"},"issue":{"href":"https://api.github.com/repos/frigg/frigg-hq/issues/279"},"comments":{"href":"https://api.github.com/repos/frigg/frigg-hq/issues/279/comments"},"review_comments":{"href":"https://api.github.com/repos/frigg/frigg-hq/pulls/279/comments"},"review_comment":{"href":"https://api.github.com/repos/frigg/frigg-hq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frigg/frigg-hq/pulls/279/commits"},"statuses":{"href":"https://api.github.com/repos/frigg/frigg-hq/statuses/d3ce08dd0eb79588d3faec7bd2d867fb19cd968a"}}}}