{"action":"created","comment":{"url":"https://api.github.com/repos/gamechanger/dusty/pulls/comments/35912489","id":35912489,"diff_hunk":"@@ -110,6 +110,20 @@ def test_ensure_local_repo_when_does_not_exist_with_https_remote(self, fake_clon\n         fake_clone_from.assert_called_with('https://gc/repos/c.git', temp_dir)\n \n     @patch('git.Repo.clone_from')\n+    def test_ensure_accepts_ssh_remote_path(self, fake_clone_from):\n+        temp_dir = os.path.join(self.temp_dir, 'd')\n+        self.MockableRepo.managed_path = property(lambda repo: temp_dir)\n+        self.MockableRepo('ssh://git@github.com/repos/c.git').ensure_local_repo()\n+        fake_clone_from.assert_called_with('ssh://git@github.com/repos/c.git', temp_dir)\n+\n+    @patch('git.Repo.clone_from')\n+    def test_ensure_accpets_without_git_suffix(self, fake_clone_from):\n+        temp_dir = os.path.join(self.temp_dir, 'd')\n+        self.MockableRepo.managed_path = property(lambda repo: temp_dir)\n+        self.MockableRepo('https://gc/repos/c').ensure_local_repo()\n+        fake_clone_from.assert_called_with('https://gc/repos/c.git', temp_dir)","path":"tests/unit/source_test.py","position":15,"original_position":15,"commit_id":"4b8877d6db7d1d62e413ba1605bce358b8357914","original_commit_id":"4b8877d6db7d1d62e413ba1605bce358b8357914","user":{"login":"thieman","id":1414305,"avatar_url":"https://avatars.githubusercontent.com/u/1414305?v=3","gravatar_id":"","url":"https://api.github.com/users/thieman","html_url":"https://github.com/thieman","followers_url":"https://api.github.com/users/thieman/followers","following_url":"https://api.github.com/users/thieman/following{/other_user}","gists_url":"https://api.github.com/users/thieman/gists{/gist_id}","starred_url":"https://api.github.com/users/thieman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thieman/subscriptions","organizations_url":"https://api.github.com/users/thieman/orgs","repos_url":"https://api.github.com/users/thieman/repos","events_url":"https://api.github.com/users/thieman/events{/privacy}","received_events_url":"https://api.github.com/users/thieman/received_events","type":"User","site_admin":false},"body":"Are there corresponding tests for `file:///` and any other formats?","created_at":"2015-07-30T19:50:36Z","updated_at":"2015-07-30T19:50:36Z","html_url":"https://github.com/gamechanger/dusty/pull/454#discussion_r35912489","pull_request_url":"https://api.github.com/repos/gamechanger/dusty/pulls/454","_links":{"self":{"href":"https://api.github.com/repos/gamechanger/dusty/pulls/comments/35912489"},"html":{"href":"https://github.com/gamechanger/dusty/pull/454#discussion_r35912489"},"pull_request":{"href":"https://api.github.com/repos/gamechanger/dusty/pulls/454"}}},"pull_request":{"url":"https://api.github.com/repos/gamechanger/dusty/pulls/454","id":41274125,"html_url":"https://github.com/gamechanger/dusty/pull/454","diff_url":"https://github.com/gamechanger/dusty/pull/454.diff","patch_url":"https://github.com/gamechanger/dusty/pull/454.patch","issue_url":"https://api.github.com/repos/gamechanger/dusty/issues/454","number":454,"state":"open","locked":false,"title":"Js git url try harder","user":{"login":"jsingle","id":3680617,"avatar_url":"https://avatars.githubusercontent.com/u/3680617?v=3","gravatar_id":"","url":"https://api.github.com/users/jsingle","html_url":"https://github.com/jsingle","followers_url":"https://api.github.com/users/jsingle/followers","following_url":"https://api.github.com/users/jsingle/following{/other_user}","gists_url":"https://api.github.com/users/jsingle/gists{/gist_id}","starred_url":"https://api.github.com/users/jsingle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsingle/subscriptions","organizations_url":"https://api.github.com/users/jsingle/orgs","repos_url":"https://api.github.com/users/jsingle/repos","events_url":"https://api.github.com/users/jsingle/events{/privacy}","received_events_url":"https://api.github.com/users/jsingle/received_events","type":"User","site_admin":false},"body":"@thieman in response to https://github.com/gamechanger/dusty/issues/390","created_at":"2015-07-30T19:46:45Z","updated_at":"2015-07-30T19:50:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2473b3f280f75545613f1203ddc81359f576839b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gamechanger/dusty/pulls/454/commits","review_comments_url":"https://api.github.com/repos/gamechanger/dusty/pulls/454/comments","review_comment_url":"https://api.github.com/repos/gamechanger/dusty/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gamechanger/dusty/issues/454/comments","statuses_url":"https://api.github.com/repos/gamechanger/dusty/statuses/4b8877d6db7d1d62e413ba1605bce358b8357914","head":{"label":"gamechanger:js-git-url-try-harder","ref":"js-git-url-try-harder","sha":"4b8877d6db7d1d62e413ba1605bce358b8357914","user":{"login":"gamechanger","id":43876,"avatar_url":"https://avatars.githubusercontent.com/u/43876?v=3","gravatar_id":"","url":"https://api.github.com/users/gamechanger","html_url":"https://github.com/gamechanger","followers_url":"https://api.github.com/users/gamechanger/followers","following_url":"https://api.github.com/users/gamechanger/following{/other_user}","gists_url":"https://api.github.com/users/gamechanger/gists{/gist_id}","starred_url":"https://api.github.com/users/gamechanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gamechanger/subscriptions","organizations_url":"https://api.github.com/users/gamechanger/orgs","repos_url":"https://api.github.com/users/gamechanger/repos","events_url":"https://api.github.com/users/gamechanger/events{/privacy}","received_events_url":"https://api.github.com/users/gamechanger/received_events","type":"Organization","site_admin":false},"repo":{"id":35429030,"name":"dusty","full_name":"gamechanger/dusty","owner":{"login":"gamechanger","id":43876,"avatar_url":"https://avatars.githubusercontent.com/u/43876?v=3","gravatar_id":"","url":"https://api.github.com/users/gamechanger","html_url":"https://github.com/gamechanger","followers_url":"https://api.github.com/users/gamechanger/followers","following_url":"https://api.github.com/users/gamechanger/following{/other_user}","gists_url":"https://api.github.com/users/gamechanger/gists{/gist_id}","starred_url":"https://api.github.com/users/gamechanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gamechanger/subscriptions","organizations_url":"https://api.github.com/users/gamechanger/orgs","repos_url":"https://api.github.com/users/gamechanger/repos","events_url":"https://api.github.com/users/gamechanger/events{/privacy}","received_events_url":"https://api.github.com/users/gamechanger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gamechanger/dusty","description":"Docker-powered development environments","fork":false,"url":"https://api.github.com/repos/gamechanger/dusty","forks_url":"https://api.github.com/repos/gamechanger/dusty/forks","keys_url":"https://api.github.com/repos/gamechanger/dusty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gamechanger/dusty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gamechanger/dusty/teams","hooks_url":"https://api.github.com/repos/gamechanger/dusty/hooks","issue_events_url":"https://api.github.com/repos/gamechanger/dusty/issues/events{/number}","events_url":"https://api.github.com/repos/gamechanger/dusty/events","assignees_url":"https://api.github.com/repos/gamechanger/dusty/assignees{/user}","branches_url":"https://api.github.com/repos/gamechanger/dusty/branches{/branch}","tags_url":"https://api.github.com/repos/gamechanger/dusty/tags","blobs_url":"https://api.github.com/repos/gamechanger/dusty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gamechanger/dusty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gamechanger/dusty/git/refs{/sha}","trees_url":"https://api.github.com/repos/gamechanger/dusty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gamechanger/dusty/statuses/{sha}","languages_url":"https://api.github.com/repos/gamechanger/dusty/languages","stargazers_url":"https://api.github.com/repos/gamechanger/dusty/stargazers","contributors_url":"https://api.github.com/repos/gamechanger/dusty/contributors","subscribers_url":"https://api.github.com/repos/gamechanger/dusty/subscribers","subscription_url":"https://api.github.com/repos/gamechanger/dusty/subscription","commits_url":"https://api.github.com/repos/gamechanger/dusty/commits{/sha}","git_commits_url":"https://api.github.com/repos/gamechanger/dusty/git/commits{/sha}","comments_url":"https://api.github.com/repos/gamechanger/dusty/comments{/number}","issue_comment_url":"https://api.github.com/repos/gamechanger/dusty/issues/comments{/number}","contents_url":"https://api.github.com/repos/gamechanger/dusty/contents/{+path}","compare_url":"https://api.github.com/repos/gamechanger/dusty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gamechanger/dusty/merges","archive_url":"https://api.github.com/repos/gamechanger/dusty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gamechanger/dusty/downloads","issues_url":"https://api.github.com/repos/gamechanger/dusty/issues{/number}","pulls_url":"https://api.github.com/repos/gamechanger/dusty/pulls{/number}","milestones_url":"https://api.github.com/repos/gamechanger/dusty/milestones{/number}","notifications_url":"https://api.github.com/repos/gamechanger/dusty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gamechanger/dusty/labels{/name}","releases_url":"https://api.github.com/repos/gamechanger/dusty/releases{/id}","created_at":"2015-05-11T14:27:56Z","updated_at":"2015-07-29T20:54:46Z","pushed_at":"2015-07-30T19:49:52Z","git_url":"git://github.com/gamechanger/dusty.git","ssh_url":"git@github.com:gamechanger/dusty.git","clone_url":"https://github.com/gamechanger/dusty.git","svn_url":"https://github.com/gamechanger/dusty","homepage":"http://dusty.gc.com","size":14398,"stargazers_count":174,"watchers_count":174,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":174,"default_branch":"master"}},"base":{"label":"gamechanger:master","ref":"master","sha":"4c39715c1f3af34e065f37b30132b12b30f7ecb3","user":{"login":"gamechanger","id":43876,"avatar_url":"https://avatars.githubusercontent.com/u/43876?v=3","gravatar_id":"","url":"https://api.github.com/users/gamechanger","html_url":"https://github.com/gamechanger","followers_url":"https://api.github.com/users/gamechanger/followers","following_url":"https://api.github.com/users/gamechanger/following{/other_user}","gists_url":"https://api.github.com/users/gamechanger/gists{/gist_id}","starred_url":"https://api.github.com/users/gamechanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gamechanger/subscriptions","organizations_url":"https://api.github.com/users/gamechanger/orgs","repos_url":"https://api.github.com/users/gamechanger/repos","events_url":"https://api.github.com/users/gamechanger/events{/privacy}","received_events_url":"https://api.github.com/users/gamechanger/received_events","type":"Organization","site_admin":false},"repo":{"id":35429030,"name":"dusty","full_name":"gamechanger/dusty","owner":{"login":"gamechanger","id":43876,"avatar_url":"https://avatars.githubusercontent.com/u/43876?v=3","gravatar_id":"","url":"https://api.github.com/users/gamechanger","html_url":"https://github.com/gamechanger","followers_url":"https://api.github.com/users/gamechanger/followers","following_url":"https://api.github.com/users/gamechanger/following{/other_user}","gists_url":"https://api.github.com/users/gamechanger/gists{/gist_id}","starred_url":"https://api.github.com/users/gamechanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gamechanger/subscriptions","organizations_url":"https://api.github.com/users/gamechanger/orgs","repos_url":"https://api.github.com/users/gamechanger/repos","events_url":"https://api.github.com/users/gamechanger/events{/privacy}","received_events_url":"https://api.github.com/users/gamechanger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gamechanger/dusty","description":"Docker-powered development environments","fork":false,"url":"https://api.github.com/repos/gamechanger/dusty","forks_url":"https://api.github.com/repos/gamechanger/dusty/forks","keys_url":"https://api.github.com/repos/gamechanger/dusty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gamechanger/dusty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gamechanger/dusty/teams","hooks_url":"https://api.github.com/repos/gamechanger/dusty/hooks","issue_events_url":"https://api.github.com/repos/gamechanger/dusty/issues/events{/number}","events_url":"https://api.github.com/repos/gamechanger/dusty/events","assignees_url":"https://api.github.com/repos/gamechanger/dusty/assignees{/user}","branches_url":"https://api.github.com/repos/gamechanger/dusty/branches{/branch}","tags_url":"https://api.github.com/repos/gamechanger/dusty/tags","blobs_url":"https://api.github.com/repos/gamechanger/dusty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gamechanger/dusty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gamechanger/dusty/git/refs{/sha}","trees_url":"https://api.github.com/repos/gamechanger/dusty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gamechanger/dusty/statuses/{sha}","languages_url":"https://api.github.com/repos/gamechanger/dusty/languages","stargazers_url":"https://api.github.com/repos/gamechanger/dusty/stargazers","contributors_url":"https://api.github.com/repos/gamechanger/dusty/contributors","subscribers_url":"https://api.github.com/repos/gamechanger/dusty/subscribers","subscription_url":"https://api.github.com/repos/gamechanger/dusty/subscription","commits_url":"https://api.github.com/repos/gamechanger/dusty/commits{/sha}","git_commits_url":"https://api.github.com/repos/gamechanger/dusty/git/commits{/sha}","comments_url":"https://api.github.com/repos/gamechanger/dusty/comments{/number}","issue_comment_url":"https://api.github.com/repos/gamechanger/dusty/issues/comments{/number}","contents_url":"https://api.github.com/repos/gamechanger/dusty/contents/{+path}","compare_url":"https://api.github.com/repos/gamechanger/dusty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gamechanger/dusty/merges","archive_url":"https://api.github.com/repos/gamechanger/dusty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gamechanger/dusty/downloads","issues_url":"https://api.github.com/repos/gamechanger/dusty/issues{/number}","pulls_url":"https://api.github.com/repos/gamechanger/dusty/pulls{/number}","milestones_url":"https://api.github.com/repos/gamechanger/dusty/milestones{/number}","notifications_url":"https://api.github.com/repos/gamechanger/dusty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gamechanger/dusty/labels{/name}","releases_url":"https://api.github.com/repos/gamechanger/dusty/releases{/id}","created_at":"2015-05-11T14:27:56Z","updated_at":"2015-07-29T20:54:46Z","pushed_at":"2015-07-30T19:49:52Z","git_url":"git://github.com/gamechanger/dusty.git","ssh_url":"git@github.com:gamechanger/dusty.git","clone_url":"https://github.com/gamechanger/dusty.git","svn_url":"https://github.com/gamechanger/dusty","homepage":"http://dusty.gc.com","size":14398,"stargazers_count":174,"watchers_count":174,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gamechanger/dusty/pulls/454"},"html":{"href":"https://github.com/gamechanger/dusty/pull/454"},"issue":{"href":"https://api.github.com/repos/gamechanger/dusty/issues/454"},"comments":{"href":"https://api.github.com/repos/gamechanger/dusty/issues/454/comments"},"review_comments":{"href":"https://api.github.com/repos/gamechanger/dusty/pulls/454/comments"},"review_comment":{"href":"https://api.github.com/repos/gamechanger/dusty/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gamechanger/dusty/pulls/454/commits"},"statuses":{"href":"https://api.github.com/repos/gamechanger/dusty/statuses/4b8877d6db7d1d62e413ba1605bce358b8357914"}}}}