{"action":"created","comment":{"url":"https://api.github.com/repos/twisted/twistedchecker/pulls/comments/33677436","id":33677436,"diff_hunk":"@@ -7,7 +7,8 @@ def isTestModule(modulename):\n     Determine whether a module is a test module\n     by given module name.\n     \"\"\"\n-    return \".test.\" in modulename\n+    filename = modulename.split('.')[-1]\n+    return \".test.\" in modulename and filename.startswith('test')","path":"twistedchecker/core/util.py","position":6,"original_position":6,"commit_id":"88ab581edcbe1d4a985bd357b19a2ff56f289c22","original_commit_id":"88ab581edcbe1d4a985bd357b19a2ff56f289c22","user":{"login":"adiroiban","id":204609,"avatar_url":"https://avatars.githubusercontent.com/u/204609?v=3","gravatar_id":"","url":"https://api.github.com/users/adiroiban","html_url":"https://github.com/adiroiban","followers_url":"https://api.github.com/users/adiroiban/followers","following_url":"https://api.github.com/users/adiroiban/following{/other_user}","gists_url":"https://api.github.com/users/adiroiban/gists{/gist_id}","starred_url":"https://api.github.com/users/adiroiban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adiroiban/subscriptions","organizations_url":"https://api.github.com/users/adiroiban/orgs","repos_url":"https://api.github.com/users/adiroiban/repos","events_url":"https://api.github.com/users/adiroiban/events{/privacy}","received_events_url":"https://api.github.com/users/adiroiban/received_events","type":"User","site_admin":false},"body":"we need unit tests for these changes","created_at":"2015-07-01T13:28:00Z","updated_at":"2015-07-01T13:28:00Z","html_url":"https://github.com/twisted/twistedchecker/pull/99#discussion_r33677436","pull_request_url":"https://api.github.com/repos/twisted/twistedchecker/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/twisted/twistedchecker/pulls/comments/33677436"},"html":{"href":"https://github.com/twisted/twistedchecker/pull/99#discussion_r33677436"},"pull_request":{"href":"https://api.github.com/repos/twisted/twistedchecker/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/twisted/twistedchecker/pulls/99","id":36512355,"html_url":"https://github.com/twisted/twistedchecker/pull/99","diff_url":"https://github.com/twisted/twistedchecker/pull/99.diff","patch_url":"https://github.com/twisted/twistedchecker/pull/99.patch","issue_url":"https://api.github.com/repos/twisted/twistedchecker/issues/99","number":99,"state":"open","locked":false,"title":"Codify the FooTests test class naming convention","user":{"login":"eeshangarg","id":7251823,"avatar_url":"https://avatars.githubusercontent.com/u/7251823?v=3","gravatar_id":"","url":"https://api.github.com/users/eeshangarg","html_url":"https://github.com/eeshangarg","followers_url":"https://api.github.com/users/eeshangarg/followers","following_url":"https://api.github.com/users/eeshangarg/following{/other_user}","gists_url":"https://api.github.com/users/eeshangarg/gists{/gist_id}","starred_url":"https://api.github.com/users/eeshangarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeshangarg/subscriptions","organizations_url":"https://api.github.com/users/eeshangarg/orgs","repos_url":"https://api.github.com/users/eeshangarg/repos","events_url":"https://api.github.com/users/eeshangarg/events{/privacy}","received_events_url":"https://api.github.com/users/eeshangarg/received_events","type":"User","site_admin":false},"body":"Closes #98. :-)","created_at":"2015-05-29T14:45:44Z","updated_at":"2015-07-01T13:28:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ea3ee66715fa23287a30363825e19358b1e3fe9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twisted/twistedchecker/pulls/99/commits","review_comments_url":"https://api.github.com/repos/twisted/twistedchecker/pulls/99/comments","review_comment_url":"https://api.github.com/repos/twisted/twistedchecker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twisted/twistedchecker/issues/99/comments","statuses_url":"https://api.github.com/repos/twisted/twistedchecker/statuses/88ab581edcbe1d4a985bd357b19a2ff56f289c22","head":{"label":"eeshangarg:test-class-name-checker","ref":"test-class-name-checker","sha":"88ab581edcbe1d4a985bd357b19a2ff56f289c22","user":{"login":"eeshangarg","id":7251823,"avatar_url":"https://avatars.githubusercontent.com/u/7251823?v=3","gravatar_id":"","url":"https://api.github.com/users/eeshangarg","html_url":"https://github.com/eeshangarg","followers_url":"https://api.github.com/users/eeshangarg/followers","following_url":"https://api.github.com/users/eeshangarg/following{/other_user}","gists_url":"https://api.github.com/users/eeshangarg/gists{/gist_id}","starred_url":"https://api.github.com/users/eeshangarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeshangarg/subscriptions","organizations_url":"https://api.github.com/users/eeshangarg/orgs","repos_url":"https://api.github.com/users/eeshangarg/repos","events_url":"https://api.github.com/users/eeshangarg/events{/privacy}","received_events_url":"https://api.github.com/users/eeshangarg/received_events","type":"User","site_admin":false},"repo":{"id":36437741,"name":"twistedchecker","full_name":"eeshangarg/twistedchecker","owner":{"login":"eeshangarg","id":7251823,"avatar_url":"https://avatars.githubusercontent.com/u/7251823?v=3","gravatar_id":"","url":"https://api.github.com/users/eeshangarg","html_url":"https://github.com/eeshangarg","followers_url":"https://api.github.com/users/eeshangarg/followers","following_url":"https://api.github.com/users/eeshangarg/following{/other_user}","gists_url":"https://api.github.com/users/eeshangarg/gists{/gist_id}","starred_url":"https://api.github.com/users/eeshangarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeshangarg/subscriptions","organizations_url":"https://api.github.com/users/eeshangarg/orgs","repos_url":"https://api.github.com/users/eeshangarg/repos","events_url":"https://api.github.com/users/eeshangarg/events{/privacy}","received_events_url":"https://api.github.com/users/eeshangarg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eeshangarg/twistedchecker","description":"twistedchecker is a tool to automatically verify code against the Twisted coding standard.","fork":true,"url":"https://api.github.com/repos/eeshangarg/twistedchecker","forks_url":"https://api.github.com/repos/eeshangarg/twistedchecker/forks","keys_url":"https://api.github.com/repos/eeshangarg/twistedchecker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eeshangarg/twistedchecker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eeshangarg/twistedchecker/teams","hooks_url":"https://api.github.com/repos/eeshangarg/twistedchecker/hooks","issue_events_url":"https://api.github.com/repos/eeshangarg/twistedchecker/issues/events{/number}","events_url":"https://api.github.com/repos/eeshangarg/twistedchecker/events","assignees_url":"https://api.github.com/repos/eeshangarg/twistedchecker/assignees{/user}","branches_url":"https://api.github.com/repos/eeshangarg/twistedchecker/branches{/branch}","tags_url":"https://api.github.com/repos/eeshangarg/twistedchecker/tags","blobs_url":"https://api.github.com/repos/eeshangarg/twistedchecker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eeshangarg/twistedchecker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eeshangarg/twistedchecker/git/refs{/sha}","trees_url":"https://api.github.com/repos/eeshangarg/twistedchecker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eeshangarg/twistedchecker/statuses/{sha}","languages_url":"https://api.github.com/repos/eeshangarg/twistedchecker/languages","stargazers_url":"https://api.github.com/repos/eeshangarg/twistedchecker/stargazers","contributors_url":"https://api.github.com/repos/eeshangarg/twistedchecker/contributors","subscribers_url":"https://api.github.com/repos/eeshangarg/twistedchecker/subscribers","subscription_url":"https://api.github.com/repos/eeshangarg/twistedchecker/subscription","commits_url":"https://api.github.com/repos/eeshangarg/twistedchecker/commits{/sha}","git_commits_url":"https://api.github.com/repos/eeshangarg/twistedchecker/git/commits{/sha}","comments_url":"https://api.github.com/repos/eeshangarg/twistedchecker/comments{/number}","issue_comment_url":"https://api.github.com/repos/eeshangarg/twistedchecker/issues/comments{/number}","contents_url":"https://api.github.com/repos/eeshangarg/twistedchecker/contents/{+path}","compare_url":"https://api.github.com/repos/eeshangarg/twistedchecker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eeshangarg/twistedchecker/merges","archive_url":"https://api.github.com/repos/eeshangarg/twistedchecker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eeshangarg/twistedchecker/downloads","issues_url":"https://api.github.com/repos/eeshangarg/twistedchecker/issues{/number}","pulls_url":"https://api.github.com/repos/eeshangarg/twistedchecker/pulls{/number}","milestones_url":"https://api.github.com/repos/eeshangarg/twistedchecker/milestones{/number}","notifications_url":"https://api.github.com/repos/eeshangarg/twistedchecker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eeshangarg/twistedchecker/labels{/name}","releases_url":"https://api.github.com/repos/eeshangarg/twistedchecker/releases{/id}","created_at":"2015-05-28T12:45:36Z","updated_at":"2015-05-28T12:45:37Z","pushed_at":"2015-06-24T16:04:10Z","git_url":"git://github.com/eeshangarg/twistedchecker.git","ssh_url":"git@github.com:eeshangarg/twistedchecker.git","clone_url":"https://github.com/eeshangarg/twistedchecker.git","svn_url":"https://github.com/eeshangarg/twistedchecker","homepage":null,"size":603,"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":"twisted:master","ref":"master","sha":"83af824697d76815ca7d9e100dc96ca973791104","user":{"login":"twisted","id":716546,"avatar_url":"https://avatars.githubusercontent.com/u/716546?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted","html_url":"https://github.com/twisted","followers_url":"https://api.github.com/users/twisted/followers","following_url":"https://api.github.com/users/twisted/following{/other_user}","gists_url":"https://api.github.com/users/twisted/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted/subscriptions","organizations_url":"https://api.github.com/users/twisted/orgs","repos_url":"https://api.github.com/users/twisted/repos","events_url":"https://api.github.com/users/twisted/events{/privacy}","received_events_url":"https://api.github.com/users/twisted/received_events","type":"Organization","site_admin":false},"repo":{"id":18854911,"name":"twistedchecker","full_name":"twisted/twistedchecker","owner":{"login":"twisted","id":716546,"avatar_url":"https://avatars.githubusercontent.com/u/716546?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted","html_url":"https://github.com/twisted","followers_url":"https://api.github.com/users/twisted/followers","following_url":"https://api.github.com/users/twisted/following{/other_user}","gists_url":"https://api.github.com/users/twisted/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted/subscriptions","organizations_url":"https://api.github.com/users/twisted/orgs","repos_url":"https://api.github.com/users/twisted/repos","events_url":"https://api.github.com/users/twisted/events{/privacy}","received_events_url":"https://api.github.com/users/twisted/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twisted/twistedchecker","description":"twistedchecker is a tool to automatically verify code against the Twisted coding standard.","fork":false,"url":"https://api.github.com/repos/twisted/twistedchecker","forks_url":"https://api.github.com/repos/twisted/twistedchecker/forks","keys_url":"https://api.github.com/repos/twisted/twistedchecker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twisted/twistedchecker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twisted/twistedchecker/teams","hooks_url":"https://api.github.com/repos/twisted/twistedchecker/hooks","issue_events_url":"https://api.github.com/repos/twisted/twistedchecker/issues/events{/number}","events_url":"https://api.github.com/repos/twisted/twistedchecker/events","assignees_url":"https://api.github.com/repos/twisted/twistedchecker/assignees{/user}","branches_url":"https://api.github.com/repos/twisted/twistedchecker/branches{/branch}","tags_url":"https://api.github.com/repos/twisted/twistedchecker/tags","blobs_url":"https://api.github.com/repos/twisted/twistedchecker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twisted/twistedchecker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twisted/twistedchecker/git/refs{/sha}","trees_url":"https://api.github.com/repos/twisted/twistedchecker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twisted/twistedchecker/statuses/{sha}","languages_url":"https://api.github.com/repos/twisted/twistedchecker/languages","stargazers_url":"https://api.github.com/repos/twisted/twistedchecker/stargazers","contributors_url":"https://api.github.com/repos/twisted/twistedchecker/contributors","subscribers_url":"https://api.github.com/repos/twisted/twistedchecker/subscribers","subscription_url":"https://api.github.com/repos/twisted/twistedchecker/subscription","commits_url":"https://api.github.com/repos/twisted/twistedchecker/commits{/sha}","git_commits_url":"https://api.github.com/repos/twisted/twistedchecker/git/commits{/sha}","comments_url":"https://api.github.com/repos/twisted/twistedchecker/comments{/number}","issue_comment_url":"https://api.github.com/repos/twisted/twistedchecker/issues/comments{/number}","contents_url":"https://api.github.com/repos/twisted/twistedchecker/contents/{+path}","compare_url":"https://api.github.com/repos/twisted/twistedchecker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twisted/twistedchecker/merges","archive_url":"https://api.github.com/repos/twisted/twistedchecker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twisted/twistedchecker/downloads","issues_url":"https://api.github.com/repos/twisted/twistedchecker/issues{/number}","pulls_url":"https://api.github.com/repos/twisted/twistedchecker/pulls{/number}","milestones_url":"https://api.github.com/repos/twisted/twistedchecker/milestones{/number}","notifications_url":"https://api.github.com/repos/twisted/twistedchecker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twisted/twistedchecker/labels{/name}","releases_url":"https://api.github.com/repos/twisted/twistedchecker/releases{/id}","created_at":"2014-04-16T20:35:57Z","updated_at":"2015-03-24T12:08:30Z","pushed_at":"2015-06-24T16:04:11Z","git_url":"git://github.com/twisted/twistedchecker.git","ssh_url":"git@github.com:twisted/twistedchecker.git","clone_url":"https://github.com/twisted/twistedchecker.git","svn_url":"https://github.com/twisted/twistedchecker","homepage":null,"size":1076,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":28,"forks":5,"open_issues":28,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twisted/twistedchecker/pulls/99"},"html":{"href":"https://github.com/twisted/twistedchecker/pull/99"},"issue":{"href":"https://api.github.com/repos/twisted/twistedchecker/issues/99"},"comments":{"href":"https://api.github.com/repos/twisted/twistedchecker/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/twisted/twistedchecker/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/twisted/twistedchecker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twisted/twistedchecker/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/twisted/twistedchecker/statuses/88ab581edcbe1d4a985bd357b19a2ff56f289c22"}}}}