{"action":"created","comment":{"url":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/comments/104696992","pull_request_review_id":25543644,"id":104696992,"diff_hunk":"@@ -194,13 +196,25 @@ def test_reporter_with_branches(self):\n         sh.coverage('run', '--branch', 'runtests.py')\n         results = self.cover.get_coverage()\n         assert len(results) == 2\n+\n+        branches = results[0]['branches']\n+        assert not len(branches) % 4","path":"tests/test_api.py","position":15,"original_position":15,"commit_id":"90fe73732470c4b14b574039e9e9696f3e58abb3","original_commit_id":"90fe73732470c4b14b574039e9e9696f3e58abb3","user":{"login":"TheKevJames","id":3341822,"avatar_url":"https://avatars0.githubusercontent.com/u/3341822?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKevJames","html_url":"https://github.com/TheKevJames","followers_url":"https://api.github.com/users/TheKevJames/followers","following_url":"https://api.github.com/users/TheKevJames/following{/other_user}","gists_url":"https://api.github.com/users/TheKevJames/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKevJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKevJames/subscriptions","organizations_url":"https://api.github.com/users/TheKevJames/orgs","repos_url":"https://api.github.com/users/TheKevJames/repos","events_url":"https://api.github.com/users/TheKevJames/events{/privacy}","received_events_url":"https://api.github.com/users/TheKevJames/received_events","type":"User","site_admin":false},"body":"Took me a second to figure out why this is (why branches must be divisible by four). Could you please add a comment here?","created_at":"2017-03-07T15:36:55Z","updated_at":"2017-03-07T15:41:01Z","html_url":"https://github.com/coveralls-clients/coveralls-python/pull/145#discussion_r104696992","pull_request_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145","_links":{"self":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/comments/104696992"},"html":{"href":"https://github.com/coveralls-clients/coveralls-python/pull/145#discussion_r104696992"},"pull_request":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145","id":109497654,"html_url":"https://github.com/coveralls-clients/coveralls-python/pull/145","diff_url":"https://github.com/coveralls-clients/coveralls-python/pull/145.diff","patch_url":"https://github.com/coveralls-clients/coveralls-python/pull/145.patch","issue_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/issues/145","number":145,"state":"open","locked":false,"title":"Use coveralls' new branch reporting format","user":{"login":"jvarho","id":3097888,"avatar_url":"https://avatars0.githubusercontent.com/u/3097888?v=3","gravatar_id":"","url":"https://api.github.com/users/jvarho","html_url":"https://github.com/jvarho","followers_url":"https://api.github.com/users/jvarho/followers","following_url":"https://api.github.com/users/jvarho/following{/other_user}","gists_url":"https://api.github.com/users/jvarho/gists{/gist_id}","starred_url":"https://api.github.com/users/jvarho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvarho/subscriptions","organizations_url":"https://api.github.com/users/jvarho/orgs","repos_url":"https://api.github.com/users/jvarho/repos","events_url":"https://api.github.com/users/jvarho/events{/privacy}","received_events_url":"https://api.github.com/users/jvarho/received_events","type":"User","site_admin":false},"body":"Fixes #143 \r\n\r\nThis changes branch coverage reporting to use the new branches field of the coveralls API.","created_at":"2017-03-07T15:02:10Z","updated_at":"2017-03-07T15:41:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbc8a5a9df58471ea23be2e4a346be0b78c10abf","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/coveralls-clients/coveralls-python/milestones/1","html_url":"https://github.com/coveralls-clients/coveralls-python/milestone/1","labels_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/milestones/1/labels","id":2235757,"number":1,"title":"1.2","description":"","creator":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars0.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":6,"state":"open","created_at":"2017-01-08T21:45:54Z","updated_at":"2017-03-07T15:27:43Z","due_on":"2017-01-31T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145/commits","review_comments_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145/comments","review_comment_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/issues/145/comments","statuses_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/statuses/90fe73732470c4b14b574039e9e9696f3e58abb3","head":{"label":"jvarho:branch-coverage","ref":"branch-coverage","sha":"90fe73732470c4b14b574039e9e9696f3e58abb3","user":{"login":"jvarho","id":3097888,"avatar_url":"https://avatars0.githubusercontent.com/u/3097888?v=3","gravatar_id":"","url":"https://api.github.com/users/jvarho","html_url":"https://github.com/jvarho","followers_url":"https://api.github.com/users/jvarho/followers","following_url":"https://api.github.com/users/jvarho/following{/other_user}","gists_url":"https://api.github.com/users/jvarho/gists{/gist_id}","starred_url":"https://api.github.com/users/jvarho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvarho/subscriptions","organizations_url":"https://api.github.com/users/jvarho/orgs","repos_url":"https://api.github.com/users/jvarho/repos","events_url":"https://api.github.com/users/jvarho/events{/privacy}","received_events_url":"https://api.github.com/users/jvarho/received_events","type":"User","site_admin":false},"repo":{"id":74212579,"name":"coveralls-python","full_name":"jvarho/coveralls-python","owner":{"login":"jvarho","id":3097888,"avatar_url":"https://avatars0.githubusercontent.com/u/3097888?v=3","gravatar_id":"","url":"https://api.github.com/users/jvarho","html_url":"https://github.com/jvarho","followers_url":"https://api.github.com/users/jvarho/followers","following_url":"https://api.github.com/users/jvarho/following{/other_user}","gists_url":"https://api.github.com/users/jvarho/gists{/gist_id}","starred_url":"https://api.github.com/users/jvarho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvarho/subscriptions","organizations_url":"https://api.github.com/users/jvarho/orgs","repos_url":"https://api.github.com/users/jvarho/repos","events_url":"https://api.github.com/users/jvarho/events{/privacy}","received_events_url":"https://api.github.com/users/jvarho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jvarho/coveralls-python","description":"Show coverage stats online via coveralls.io","fork":true,"url":"https://api.github.com/repos/jvarho/coveralls-python","forks_url":"https://api.github.com/repos/jvarho/coveralls-python/forks","keys_url":"https://api.github.com/repos/jvarho/coveralls-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jvarho/coveralls-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jvarho/coveralls-python/teams","hooks_url":"https://api.github.com/repos/jvarho/coveralls-python/hooks","issue_events_url":"https://api.github.com/repos/jvarho/coveralls-python/issues/events{/number}","events_url":"https://api.github.com/repos/jvarho/coveralls-python/events","assignees_url":"https://api.github.com/repos/jvarho/coveralls-python/assignees{/user}","branches_url":"https://api.github.com/repos/jvarho/coveralls-python/branches{/branch}","tags_url":"https://api.github.com/repos/jvarho/coveralls-python/tags","blobs_url":"https://api.github.com/repos/jvarho/coveralls-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jvarho/coveralls-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jvarho/coveralls-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/jvarho/coveralls-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jvarho/coveralls-python/statuses/{sha}","languages_url":"https://api.github.com/repos/jvarho/coveralls-python/languages","stargazers_url":"https://api.github.com/repos/jvarho/coveralls-python/stargazers","contributors_url":"https://api.github.com/repos/jvarho/coveralls-python/contributors","subscribers_url":"https://api.github.com/repos/jvarho/coveralls-python/subscribers","subscription_url":"https://api.github.com/repos/jvarho/coveralls-python/subscription","commits_url":"https://api.github.com/repos/jvarho/coveralls-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/jvarho/coveralls-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/jvarho/coveralls-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/jvarho/coveralls-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/jvarho/coveralls-python/contents/{+path}","compare_url":"https://api.github.com/repos/jvarho/coveralls-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jvarho/coveralls-python/merges","archive_url":"https://api.github.com/repos/jvarho/coveralls-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jvarho/coveralls-python/downloads","issues_url":"https://api.github.com/repos/jvarho/coveralls-python/issues{/number}","pulls_url":"https://api.github.com/repos/jvarho/coveralls-python/pulls{/number}","milestones_url":"https://api.github.com/repos/jvarho/coveralls-python/milestones{/number}","notifications_url":"https://api.github.com/repos/jvarho/coveralls-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jvarho/coveralls-python/labels{/name}","releases_url":"https://api.github.com/repos/jvarho/coveralls-python/releases{/id}","deployments_url":"https://api.github.com/repos/jvarho/coveralls-python/deployments","created_at":"2016-11-19T14:13:33Z","updated_at":"2016-11-19T14:13:34Z","pushed_at":"2017-03-07T14:59:18Z","git_url":"git://github.com/jvarho/coveralls-python.git","ssh_url":"git@github.com:jvarho/coveralls-python.git","clone_url":"https://github.com/jvarho/coveralls-python.git","svn_url":"https://github.com/jvarho/coveralls-python","homepage":null,"size":169,"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":"coveralls-clients:master","ref":"master","sha":"ce0cf20e04c380275cc96c83e89b0399aa97ec00","user":{"login":"coveralls-clients","id":25142223,"avatar_url":"https://avatars3.githubusercontent.com/u/25142223?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls-clients","html_url":"https://github.com/coveralls-clients","followers_url":"https://api.github.com/users/coveralls-clients/followers","following_url":"https://api.github.com/users/coveralls-clients/following{/other_user}","gists_url":"https://api.github.com/users/coveralls-clients/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls-clients/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls-clients/subscriptions","organizations_url":"https://api.github.com/users/coveralls-clients/orgs","repos_url":"https://api.github.com/users/coveralls-clients/repos","events_url":"https://api.github.com/users/coveralls-clients/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls-clients/received_events","type":"Organization","site_admin":false},"repo":{"id":8059786,"name":"coveralls-python","full_name":"coveralls-clients/coveralls-python","owner":{"login":"coveralls-clients","id":25142223,"avatar_url":"https://avatars3.githubusercontent.com/u/25142223?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls-clients","html_url":"https://github.com/coveralls-clients","followers_url":"https://api.github.com/users/coveralls-clients/followers","following_url":"https://api.github.com/users/coveralls-clients/following{/other_user}","gists_url":"https://api.github.com/users/coveralls-clients/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls-clients/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls-clients/subscriptions","organizations_url":"https://api.github.com/users/coveralls-clients/orgs","repos_url":"https://api.github.com/users/coveralls-clients/repos","events_url":"https://api.github.com/users/coveralls-clients/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls-clients/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coveralls-clients/coveralls-python","description":"Show coverage stats online via coveralls.io","fork":false,"url":"https://api.github.com/repos/coveralls-clients/coveralls-python","forks_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/forks","keys_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/teams","hooks_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/hooks","issue_events_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/issues/events{/number}","events_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/events","assignees_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/assignees{/user}","branches_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/branches{/branch}","tags_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/tags","blobs_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/statuses/{sha}","languages_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/languages","stargazers_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/stargazers","contributors_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/contributors","subscribers_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/subscribers","subscription_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/subscription","commits_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/contents/{+path}","compare_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/merges","archive_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/downloads","issues_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/issues{/number}","pulls_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls{/number}","milestones_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/milestones{/number}","notifications_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/labels{/name}","releases_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/releases{/id}","deployments_url":"https://api.github.com/repos/coveralls-clients/coveralls-python/deployments","created_at":"2013-02-06T20:48:39Z","updated_at":"2017-03-07T07:39:27Z","pushed_at":"2017-03-07T15:02:11Z","git_url":"git://github.com/coveralls-clients/coveralls-python.git","ssh_url":"git@github.com:coveralls-clients/coveralls-python.git","clone_url":"https://github.com/coveralls-clients/coveralls-python.git","svn_url":"https://github.com/coveralls-clients/coveralls-python","homepage":null,"size":184,"stargazers_count":288,"watchers_count":288,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":27,"forks":81,"open_issues":27,"watchers":288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145"},"html":{"href":"https://github.com/coveralls-clients/coveralls-python/pull/145"},"issue":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/issues/145"},"comments":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/coveralls-clients/coveralls-python/statuses/90fe73732470c4b14b574039e9e9696f3e58abb3"}}}}
{"actor":{"display_login":"TheKevJames"}}