{"action":"created","comment":{"url":"https://api.github.com/repos/juliexue/git-undo/pulls/comments/81477668","pull_request_review_id":2455460,"id":81477668,"diff_hunk":"@@ -0,0 +1,27 @@\n+import unittest\n+\n+from command_parser import CommandParser\n+from commands.commit import CommitCommand\n+from commands.unknown import UnknownCommand\n+\n+\n+class TestParser(unittest.TestCase):\n+    def setup(self):\n+        pass\n+\n+    def tearDown(self):\n+        pass\n+\n+    def test_get_command(self):\n+        cl = ['commit', '-m', \"commit message\"]\n+        command = CommandParser().get_command(cl)\n+        self.assertTrue(isinstance(command, CommitCommand))\n+\n+        '''\n+        unknown = ['blah', '-v']","path":"parser_test.py","position":21,"original_position":21,"commit_id":"75decd4840c332cf0aaa22fd1a8dc326fb8f56c1","original_commit_id":"75decd4840c332cf0aaa22fd1a8dc326fb8f56c1","user":{"login":"Nosajool","id":3674579,"avatar_url":"https://avatars.githubusercontent.com/u/3674579?v=3","gravatar_id":"","url":"https://api.github.com/users/Nosajool","html_url":"https://github.com/Nosajool","followers_url":"https://api.github.com/users/Nosajool/followers","following_url":"https://api.github.com/users/Nosajool/following{/other_user}","gists_url":"https://api.github.com/users/Nosajool/gists{/gist_id}","starred_url":"https://api.github.com/users/Nosajool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nosajool/subscriptions","organizations_url":"https://api.github.com/users/Nosajool/orgs","repos_url":"https://api.github.com/users/Nosajool/repos","events_url":"https://api.github.com/users/Nosajool/events{/privacy}","received_events_url":"https://api.github.com/users/Nosajool/received_events","type":"User","site_admin":false},"body":"uncomment now probably","created_at":"2016-10-02T20:48:56Z","updated_at":"2016-10-02T20:48:56Z","html_url":"https://github.com/juliexue/git-undo/pull/14#discussion_r81477668","pull_request_url":"https://api.github.com/repos/juliexue/git-undo/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/juliexue/git-undo/pulls/comments/81477668"},"html":{"href":"https://github.com/juliexue/git-undo/pull/14#discussion_r81477668"},"pull_request":{"href":"https://api.github.com/repos/juliexue/git-undo/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/juliexue/git-undo/pulls/14","id":87620319,"html_url":"https://github.com/juliexue/git-undo/pull/14","diff_url":"https://github.com/juliexue/git-undo/pull/14.diff","patch_url":"https://github.com/juliexue/git-undo/pull/14.patch","issue_url":"https://api.github.com/repos/juliexue/git-undo/issues/14","number":14,"state":"open","locked":false,"title":"Parser Test","user":{"login":"Nosajool","id":3674579,"avatar_url":"https://avatars.githubusercontent.com/u/3674579?v=3","gravatar_id":"","url":"https://api.github.com/users/Nosajool","html_url":"https://github.com/Nosajool","followers_url":"https://api.github.com/users/Nosajool/followers","following_url":"https://api.github.com/users/Nosajool/following{/other_user}","gists_url":"https://api.github.com/users/Nosajool/gists{/gist_id}","starred_url":"https://api.github.com/users/Nosajool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nosajool/subscriptions","organizations_url":"https://api.github.com/users/Nosajool/orgs","repos_url":"https://api.github.com/users/Nosajool/repos","events_url":"https://api.github.com/users/Nosajool/events{/privacy}","received_events_url":"https://api.github.com/users/Nosajool/received_events","type":"User","site_admin":false},"body":"🙏  please work travis","created_at":"2016-10-02T00:35:56Z","updated_at":"2016-10-02T20:48:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbfce26d2224bb471f949e341d28ac4757a7f130","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/juliexue/git-undo/pulls/14/commits","review_comments_url":"https://api.github.com/repos/juliexue/git-undo/pulls/14/comments","review_comment_url":"https://api.github.com/repos/juliexue/git-undo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juliexue/git-undo/issues/14/comments","statuses_url":"https://api.github.com/repos/juliexue/git-undo/statuses/75decd4840c332cf0aaa22fd1a8dc326fb8f56c1","head":{"label":"juliexue:parser-test","ref":"parser-test","sha":"75decd4840c332cf0aaa22fd1a8dc326fb8f56c1","user":{"login":"juliexue","id":6497332,"avatar_url":"https://avatars.githubusercontent.com/u/6497332?v=3","gravatar_id":"","url":"https://api.github.com/users/juliexue","html_url":"https://github.com/juliexue","followers_url":"https://api.github.com/users/juliexue/followers","following_url":"https://api.github.com/users/juliexue/following{/other_user}","gists_url":"https://api.github.com/users/juliexue/gists{/gist_id}","starred_url":"https://api.github.com/users/juliexue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliexue/subscriptions","organizations_url":"https://api.github.com/users/juliexue/orgs","repos_url":"https://api.github.com/users/juliexue/repos","events_url":"https://api.github.com/users/juliexue/events{/privacy}","received_events_url":"https://api.github.com/users/juliexue/received_events","type":"User","site_admin":false},"repo":{"id":68853352,"name":"git-undo","full_name":"juliexue/git-undo","owner":{"login":"juliexue","id":6497332,"avatar_url":"https://avatars.githubusercontent.com/u/6497332?v=3","gravatar_id":"","url":"https://api.github.com/users/juliexue","html_url":"https://github.com/juliexue","followers_url":"https://api.github.com/users/juliexue/followers","following_url":"https://api.github.com/users/juliexue/following{/other_user}","gists_url":"https://api.github.com/users/juliexue/gists{/gist_id}","starred_url":"https://api.github.com/users/juliexue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliexue/subscriptions","organizations_url":"https://api.github.com/users/juliexue/orgs","repos_url":"https://api.github.com/users/juliexue/repos","events_url":"https://api.github.com/users/juliexue/events{/privacy}","received_events_url":"https://api.github.com/users/juliexue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juliexue/git-undo","description":null,"fork":false,"url":"https://api.github.com/repos/juliexue/git-undo","forks_url":"https://api.github.com/repos/juliexue/git-undo/forks","keys_url":"https://api.github.com/repos/juliexue/git-undo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juliexue/git-undo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juliexue/git-undo/teams","hooks_url":"https://api.github.com/repos/juliexue/git-undo/hooks","issue_events_url":"https://api.github.com/repos/juliexue/git-undo/issues/events{/number}","events_url":"https://api.github.com/repos/juliexue/git-undo/events","assignees_url":"https://api.github.com/repos/juliexue/git-undo/assignees{/user}","branches_url":"https://api.github.com/repos/juliexue/git-undo/branches{/branch}","tags_url":"https://api.github.com/repos/juliexue/git-undo/tags","blobs_url":"https://api.github.com/repos/juliexue/git-undo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juliexue/git-undo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juliexue/git-undo/git/refs{/sha}","trees_url":"https://api.github.com/repos/juliexue/git-undo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juliexue/git-undo/statuses/{sha}","languages_url":"https://api.github.com/repos/juliexue/git-undo/languages","stargazers_url":"https://api.github.com/repos/juliexue/git-undo/stargazers","contributors_url":"https://api.github.com/repos/juliexue/git-undo/contributors","subscribers_url":"https://api.github.com/repos/juliexue/git-undo/subscribers","subscription_url":"https://api.github.com/repos/juliexue/git-undo/subscription","commits_url":"https://api.github.com/repos/juliexue/git-undo/commits{/sha}","git_commits_url":"https://api.github.com/repos/juliexue/git-undo/git/commits{/sha}","comments_url":"https://api.github.com/repos/juliexue/git-undo/comments{/number}","issue_comment_url":"https://api.github.com/repos/juliexue/git-undo/issues/comments{/number}","contents_url":"https://api.github.com/repos/juliexue/git-undo/contents/{+path}","compare_url":"https://api.github.com/repos/juliexue/git-undo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juliexue/git-undo/merges","archive_url":"https://api.github.com/repos/juliexue/git-undo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juliexue/git-undo/downloads","issues_url":"https://api.github.com/repos/juliexue/git-undo/issues{/number}","pulls_url":"https://api.github.com/repos/juliexue/git-undo/pulls{/number}","milestones_url":"https://api.github.com/repos/juliexue/git-undo/milestones{/number}","notifications_url":"https://api.github.com/repos/juliexue/git-undo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juliexue/git-undo/labels{/name}","releases_url":"https://api.github.com/repos/juliexue/git-undo/releases{/id}","deployments_url":"https://api.github.com/repos/juliexue/git-undo/deployments","created_at":"2016-09-21T20:05:20Z","updated_at":"2016-09-25T20:28:10Z","pushed_at":"2016-10-02T20:48:34Z","git_url":"git://github.com/juliexue/git-undo.git","ssh_url":"git@github.com:juliexue/git-undo.git","clone_url":"https://github.com/juliexue/git-undo.git","svn_url":"https://github.com/juliexue/git-undo","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"juliexue:master","ref":"master","sha":"3cad2a6b0e6664629a1b628497bbe48eb2cb0076","user":{"login":"juliexue","id":6497332,"avatar_url":"https://avatars.githubusercontent.com/u/6497332?v=3","gravatar_id":"","url":"https://api.github.com/users/juliexue","html_url":"https://github.com/juliexue","followers_url":"https://api.github.com/users/juliexue/followers","following_url":"https://api.github.com/users/juliexue/following{/other_user}","gists_url":"https://api.github.com/users/juliexue/gists{/gist_id}","starred_url":"https://api.github.com/users/juliexue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliexue/subscriptions","organizations_url":"https://api.github.com/users/juliexue/orgs","repos_url":"https://api.github.com/users/juliexue/repos","events_url":"https://api.github.com/users/juliexue/events{/privacy}","received_events_url":"https://api.github.com/users/juliexue/received_events","type":"User","site_admin":false},"repo":{"id":68853352,"name":"git-undo","full_name":"juliexue/git-undo","owner":{"login":"juliexue","id":6497332,"avatar_url":"https://avatars.githubusercontent.com/u/6497332?v=3","gravatar_id":"","url":"https://api.github.com/users/juliexue","html_url":"https://github.com/juliexue","followers_url":"https://api.github.com/users/juliexue/followers","following_url":"https://api.github.com/users/juliexue/following{/other_user}","gists_url":"https://api.github.com/users/juliexue/gists{/gist_id}","starred_url":"https://api.github.com/users/juliexue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliexue/subscriptions","organizations_url":"https://api.github.com/users/juliexue/orgs","repos_url":"https://api.github.com/users/juliexue/repos","events_url":"https://api.github.com/users/juliexue/events{/privacy}","received_events_url":"https://api.github.com/users/juliexue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juliexue/git-undo","description":null,"fork":false,"url":"https://api.github.com/repos/juliexue/git-undo","forks_url":"https://api.github.com/repos/juliexue/git-undo/forks","keys_url":"https://api.github.com/repos/juliexue/git-undo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juliexue/git-undo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juliexue/git-undo/teams","hooks_url":"https://api.github.com/repos/juliexue/git-undo/hooks","issue_events_url":"https://api.github.com/repos/juliexue/git-undo/issues/events{/number}","events_url":"https://api.github.com/repos/juliexue/git-undo/events","assignees_url":"https://api.github.com/repos/juliexue/git-undo/assignees{/user}","branches_url":"https://api.github.com/repos/juliexue/git-undo/branches{/branch}","tags_url":"https://api.github.com/repos/juliexue/git-undo/tags","blobs_url":"https://api.github.com/repos/juliexue/git-undo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juliexue/git-undo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juliexue/git-undo/git/refs{/sha}","trees_url":"https://api.github.com/repos/juliexue/git-undo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juliexue/git-undo/statuses/{sha}","languages_url":"https://api.github.com/repos/juliexue/git-undo/languages","stargazers_url":"https://api.github.com/repos/juliexue/git-undo/stargazers","contributors_url":"https://api.github.com/repos/juliexue/git-undo/contributors","subscribers_url":"https://api.github.com/repos/juliexue/git-undo/subscribers","subscription_url":"https://api.github.com/repos/juliexue/git-undo/subscription","commits_url":"https://api.github.com/repos/juliexue/git-undo/commits{/sha}","git_commits_url":"https://api.github.com/repos/juliexue/git-undo/git/commits{/sha}","comments_url":"https://api.github.com/repos/juliexue/git-undo/comments{/number}","issue_comment_url":"https://api.github.com/repos/juliexue/git-undo/issues/comments{/number}","contents_url":"https://api.github.com/repos/juliexue/git-undo/contents/{+path}","compare_url":"https://api.github.com/repos/juliexue/git-undo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juliexue/git-undo/merges","archive_url":"https://api.github.com/repos/juliexue/git-undo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juliexue/git-undo/downloads","issues_url":"https://api.github.com/repos/juliexue/git-undo/issues{/number}","pulls_url":"https://api.github.com/repos/juliexue/git-undo/pulls{/number}","milestones_url":"https://api.github.com/repos/juliexue/git-undo/milestones{/number}","notifications_url":"https://api.github.com/repos/juliexue/git-undo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juliexue/git-undo/labels{/name}","releases_url":"https://api.github.com/repos/juliexue/git-undo/releases{/id}","deployments_url":"https://api.github.com/repos/juliexue/git-undo/deployments","created_at":"2016-09-21T20:05:20Z","updated_at":"2016-09-25T20:28:10Z","pushed_at":"2016-10-02T20:48:34Z","git_url":"git://github.com/juliexue/git-undo.git","ssh_url":"git@github.com:juliexue/git-undo.git","clone_url":"https://github.com/juliexue/git-undo.git","svn_url":"https://github.com/juliexue/git-undo","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juliexue/git-undo/pulls/14"},"html":{"href":"https://github.com/juliexue/git-undo/pull/14"},"issue":{"href":"https://api.github.com/repos/juliexue/git-undo/issues/14"},"comments":{"href":"https://api.github.com/repos/juliexue/git-undo/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/juliexue/git-undo/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/juliexue/git-undo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juliexue/git-undo/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/juliexue/git-undo/statuses/75decd4840c332cf0aaa22fd1a8dc326fb8f56c1"}}}}
{"actor":{"display_login":"Nosajool"}}