Esempio n. 1
0
 def test_git_remote_matching_url(self):
     self.assertEqual(
         "origin",
         gpr.git_remote_matching_url(
             "https://github.com/jd/git-pull-request.git"),
     )
     self.assertEqual(
         "fork",
         gpr.git_remote_matching_url(
             "https://github.com/Flameeyes/git-pull-request.git"),
     )
     self.assertEqual(
         "fork",
         gpr.git_remote_matching_url(
             "https://github.com/flameeyes/Git-Pull-Request.git"),
     )
Esempio n. 2
0
 def test_git_remote_matching_url(self):
     self.assertEqual(
         "origin",
         gpr.git_remote_matching_url(
             "https://github.com/jd/git-pull-request.git"))