{"action":"created","comment":{"url":"https://api.github.com/repos/sahutd/cachediff/pulls/comments/42303064","id":42303064,"diff_hunk":"@@ -35,7 +35,8 @@ def test_has_virtual_address(self):\n \n class TestFile(unittest.TestCase):\n     def setUp(self):\n-        file_path = os.path.join(os.getcwd(), 'test_file.c')\n+        #file_path = os.path.join(os.getcwd(), 'test_file.c') since os.getcwd get /home/sameer etc","path":"test_cachediff.py","position":5,"original_position":5,"commit_id":"7820810babdf2f6ee6fdc29bfe90d50abeab61f7","original_commit_id":"7820810babdf2f6ee6fdc29bfe90d50abeab61f7","user":{"login":"sahutd","id":5676959,"avatar_url":"https://avatars.githubusercontent.com/u/5676959?v=3","gravatar_id":"","url":"https://api.github.com/users/sahutd","html_url":"https://github.com/sahutd","followers_url":"https://api.github.com/users/sahutd/followers","following_url":"https://api.github.com/users/sahutd/following{/other_user}","gists_url":"https://api.github.com/users/sahutd/gists{/gist_id}","starred_url":"https://api.github.com/users/sahutd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahutd/subscriptions","organizations_url":"https://api.github.com/users/sahutd/orgs","repos_url":"https://api.github.com/users/sahutd/repos","events_url":"https://api.github.com/users/sahutd/events{/privacy}","received_events_url":"https://api.github.com/users/sahutd/received_events","type":"User","site_admin":false},"body":"why is it a problem if os.getcwd() returns /home/sameer? you want the full path to the file dont you ?","created_at":"2015-10-17T00:50:43Z","updated_at":"2015-10-17T00:50:43Z","html_url":"https://github.com/sahutd/cachediff/pull/2#discussion_r42303064","pull_request_url":"https://api.github.com/repos/sahutd/cachediff/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/sahutd/cachediff/pulls/comments/42303064"},"html":{"href":"https://github.com/sahutd/cachediff/pull/2#discussion_r42303064"},"pull_request":{"href":"https://api.github.com/repos/sahutd/cachediff/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/sahutd/cachediff/pulls/2","id":47946793,"html_url":"https://github.com/sahutd/cachediff/pull/2","diff_url":"https://github.com/sahutd/cachediff/pull/2.diff","patch_url":"https://github.com/sahutd/cachediff/pull/2.patch","issue_url":"https://api.github.com/repos/sahutd/cachediff/issues/2","number":2,"state":"open","locked":false,"title":"cachediff.py - File class working.","user":{"login":"ksameersrk","id":8049204,"avatar_url":"https://avatars.githubusercontent.com/u/8049204?v=3","gravatar_id":"","url":"https://api.github.com/users/ksameersrk","html_url":"https://github.com/ksameersrk","followers_url":"https://api.github.com/users/ksameersrk/followers","following_url":"https://api.github.com/users/ksameersrk/following{/other_user}","gists_url":"https://api.github.com/users/ksameersrk/gists{/gist_id}","starred_url":"https://api.github.com/users/ksameersrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksameersrk/subscriptions","organizations_url":"https://api.github.com/users/ksameersrk/orgs","repos_url":"https://api.github.com/users/ksameersrk/repos","events_url":"https://api.github.com/users/ksameersrk/events{/privacy}","received_events_url":"https://api.github.com/users/ksameersrk/received_events","type":"User","site_admin":false},"body":"Next time I will definitely improve my commit 'message'.\r\nI changed a line from test_cachediff.py , because 'os.getcwd()'  was giving me my path. i.e /home/ksameersrk/..","created_at":"2015-10-16T18:53:52Z","updated_at":"2015-10-17T00:50:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3d398def5ecf0cff657d026b3f83f791ba91e91","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sahutd/cachediff/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sahutd/cachediff/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sahutd/cachediff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sahutd/cachediff/issues/2/comments","statuses_url":"https://api.github.com/repos/sahutd/cachediff/statuses/7820810babdf2f6ee6fdc29bfe90d50abeab61f7","head":{"label":"ksameersrk:master","ref":"master","sha":"7820810babdf2f6ee6fdc29bfe90d50abeab61f7","user":{"login":"ksameersrk","id":8049204,"avatar_url":"https://avatars.githubusercontent.com/u/8049204?v=3","gravatar_id":"","url":"https://api.github.com/users/ksameersrk","html_url":"https://github.com/ksameersrk","followers_url":"https://api.github.com/users/ksameersrk/followers","following_url":"https://api.github.com/users/ksameersrk/following{/other_user}","gists_url":"https://api.github.com/users/ksameersrk/gists{/gist_id}","starred_url":"https://api.github.com/users/ksameersrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksameersrk/subscriptions","organizations_url":"https://api.github.com/users/ksameersrk/orgs","repos_url":"https://api.github.com/users/ksameersrk/repos","events_url":"https://api.github.com/users/ksameersrk/events{/privacy}","received_events_url":"https://api.github.com/users/ksameersrk/received_events","type":"User","site_admin":false},"repo":{"id":44191722,"name":"cachediff","full_name":"ksameersrk/cachediff","owner":{"login":"ksameersrk","id":8049204,"avatar_url":"https://avatars.githubusercontent.com/u/8049204?v=3","gravatar_id":"","url":"https://api.github.com/users/ksameersrk","html_url":"https://github.com/ksameersrk","followers_url":"https://api.github.com/users/ksameersrk/followers","following_url":"https://api.github.com/users/ksameersrk/following{/other_user}","gists_url":"https://api.github.com/users/ksameersrk/gists{/gist_id}","starred_url":"https://api.github.com/users/ksameersrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksameersrk/subscriptions","organizations_url":"https://api.github.com/users/ksameersrk/orgs","repos_url":"https://api.github.com/users/ksameersrk/repos","events_url":"https://api.github.com/users/ksameersrk/events{/privacy}","received_events_url":"https://api.github.com/users/ksameersrk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ksameersrk/cachediff","description":"","fork":true,"url":"https://api.github.com/repos/ksameersrk/cachediff","forks_url":"https://api.github.com/repos/ksameersrk/cachediff/forks","keys_url":"https://api.github.com/repos/ksameersrk/cachediff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ksameersrk/cachediff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ksameersrk/cachediff/teams","hooks_url":"https://api.github.com/repos/ksameersrk/cachediff/hooks","issue_events_url":"https://api.github.com/repos/ksameersrk/cachediff/issues/events{/number}","events_url":"https://api.github.com/repos/ksameersrk/cachediff/events","assignees_url":"https://api.github.com/repos/ksameersrk/cachediff/assignees{/user}","branches_url":"https://api.github.com/repos/ksameersrk/cachediff/branches{/branch}","tags_url":"https://api.github.com/repos/ksameersrk/cachediff/tags","blobs_url":"https://api.github.com/repos/ksameersrk/cachediff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ksameersrk/cachediff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ksameersrk/cachediff/git/refs{/sha}","trees_url":"https://api.github.com/repos/ksameersrk/cachediff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ksameersrk/cachediff/statuses/{sha}","languages_url":"https://api.github.com/repos/ksameersrk/cachediff/languages","stargazers_url":"https://api.github.com/repos/ksameersrk/cachediff/stargazers","contributors_url":"https://api.github.com/repos/ksameersrk/cachediff/contributors","subscribers_url":"https://api.github.com/repos/ksameersrk/cachediff/subscribers","subscription_url":"https://api.github.com/repos/ksameersrk/cachediff/subscription","commits_url":"https://api.github.com/repos/ksameersrk/cachediff/commits{/sha}","git_commits_url":"https://api.github.com/repos/ksameersrk/cachediff/git/commits{/sha}","comments_url":"https://api.github.com/repos/ksameersrk/cachediff/comments{/number}","issue_comment_url":"https://api.github.com/repos/ksameersrk/cachediff/issues/comments{/number}","contents_url":"https://api.github.com/repos/ksameersrk/cachediff/contents/{+path}","compare_url":"https://api.github.com/repos/ksameersrk/cachediff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ksameersrk/cachediff/merges","archive_url":"https://api.github.com/repos/ksameersrk/cachediff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ksameersrk/cachediff/downloads","issues_url":"https://api.github.com/repos/ksameersrk/cachediff/issues{/number}","pulls_url":"https://api.github.com/repos/ksameersrk/cachediff/pulls{/number}","milestones_url":"https://api.github.com/repos/ksameersrk/cachediff/milestones{/number}","notifications_url":"https://api.github.com/repos/ksameersrk/cachediff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ksameersrk/cachediff/labels{/name}","releases_url":"https://api.github.com/repos/ksameersrk/cachediff/releases{/id}","created_at":"2015-10-13T17:04:01Z","updated_at":"2015-10-13T17:04:02Z","pushed_at":"2015-10-16T18:50:18Z","git_url":"git://github.com/ksameersrk/cachediff.git","ssh_url":"git@github.com:ksameersrk/cachediff.git","clone_url":"https://github.com/ksameersrk/cachediff.git","svn_url":"https://github.com/ksameersrk/cachediff","homepage":null,"size":0,"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":"sahutd:master","ref":"master","sha":"1b58efd90c05ec89a37742c12299f6d84072eec6","user":{"login":"sahutd","id":5676959,"avatar_url":"https://avatars.githubusercontent.com/u/5676959?v=3","gravatar_id":"","url":"https://api.github.com/users/sahutd","html_url":"https://github.com/sahutd","followers_url":"https://api.github.com/users/sahutd/followers","following_url":"https://api.github.com/users/sahutd/following{/other_user}","gists_url":"https://api.github.com/users/sahutd/gists{/gist_id}","starred_url":"https://api.github.com/users/sahutd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahutd/subscriptions","organizations_url":"https://api.github.com/users/sahutd/orgs","repos_url":"https://api.github.com/users/sahutd/repos","events_url":"https://api.github.com/users/sahutd/events{/privacy}","received_events_url":"https://api.github.com/users/sahutd/received_events","type":"User","site_admin":false},"repo":{"id":44183053,"name":"cachediff","full_name":"sahutd/cachediff","owner":{"login":"sahutd","id":5676959,"avatar_url":"https://avatars.githubusercontent.com/u/5676959?v=3","gravatar_id":"","url":"https://api.github.com/users/sahutd","html_url":"https://github.com/sahutd","followers_url":"https://api.github.com/users/sahutd/followers","following_url":"https://api.github.com/users/sahutd/following{/other_user}","gists_url":"https://api.github.com/users/sahutd/gists{/gist_id}","starred_url":"https://api.github.com/users/sahutd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahutd/subscriptions","organizations_url":"https://api.github.com/users/sahutd/orgs","repos_url":"https://api.github.com/users/sahutd/repos","events_url":"https://api.github.com/users/sahutd/events{/privacy}","received_events_url":"https://api.github.com/users/sahutd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sahutd/cachediff","description":"","fork":false,"url":"https://api.github.com/repos/sahutd/cachediff","forks_url":"https://api.github.com/repos/sahutd/cachediff/forks","keys_url":"https://api.github.com/repos/sahutd/cachediff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sahutd/cachediff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sahutd/cachediff/teams","hooks_url":"https://api.github.com/repos/sahutd/cachediff/hooks","issue_events_url":"https://api.github.com/repos/sahutd/cachediff/issues/events{/number}","events_url":"https://api.github.com/repos/sahutd/cachediff/events","assignees_url":"https://api.github.com/repos/sahutd/cachediff/assignees{/user}","branches_url":"https://api.github.com/repos/sahutd/cachediff/branches{/branch}","tags_url":"https://api.github.com/repos/sahutd/cachediff/tags","blobs_url":"https://api.github.com/repos/sahutd/cachediff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sahutd/cachediff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sahutd/cachediff/git/refs{/sha}","trees_url":"https://api.github.com/repos/sahutd/cachediff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sahutd/cachediff/statuses/{sha}","languages_url":"https://api.github.com/repos/sahutd/cachediff/languages","stargazers_url":"https://api.github.com/repos/sahutd/cachediff/stargazers","contributors_url":"https://api.github.com/repos/sahutd/cachediff/contributors","subscribers_url":"https://api.github.com/repos/sahutd/cachediff/subscribers","subscription_url":"https://api.github.com/repos/sahutd/cachediff/subscription","commits_url":"https://api.github.com/repos/sahutd/cachediff/commits{/sha}","git_commits_url":"https://api.github.com/repos/sahutd/cachediff/git/commits{/sha}","comments_url":"https://api.github.com/repos/sahutd/cachediff/comments{/number}","issue_comment_url":"https://api.github.com/repos/sahutd/cachediff/issues/comments{/number}","contents_url":"https://api.github.com/repos/sahutd/cachediff/contents/{+path}","compare_url":"https://api.github.com/repos/sahutd/cachediff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sahutd/cachediff/merges","archive_url":"https://api.github.com/repos/sahutd/cachediff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sahutd/cachediff/downloads","issues_url":"https://api.github.com/repos/sahutd/cachediff/issues{/number}","pulls_url":"https://api.github.com/repos/sahutd/cachediff/pulls{/number}","milestones_url":"https://api.github.com/repos/sahutd/cachediff/milestones{/number}","notifications_url":"https://api.github.com/repos/sahutd/cachediff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sahutd/cachediff/labels{/name}","releases_url":"https://api.github.com/repos/sahutd/cachediff/releases{/id}","created_at":"2015-10-13T14:45:29Z","updated_at":"2015-10-13T17:02:11Z","pushed_at":"2015-10-16T18:53:52Z","git_url":"git://github.com/sahutd/cachediff.git","ssh_url":"git@github.com:sahutd/cachediff.git","clone_url":"https://github.com/sahutd/cachediff.git","svn_url":"https://github.com/sahutd/cachediff","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sahutd/cachediff/pulls/2"},"html":{"href":"https://github.com/sahutd/cachediff/pull/2"},"issue":{"href":"https://api.github.com/repos/sahutd/cachediff/issues/2"},"comments":{"href":"https://api.github.com/repos/sahutd/cachediff/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sahutd/cachediff/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sahutd/cachediff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sahutd/cachediff/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sahutd/cachediff/statuses/7820810babdf2f6ee6fdc29bfe90d50abeab61f7"}}}}