Example #1
0
 def testGetRemoteUrl(self):
     scm = Git()
     self.clone()
     self.assertEqual(scm.get_url_from_sandbox(self.clonedir),
                      self.packagedir)
Example #2
0
 def testGetRemoteUrl(self):
     scm = Git()
     self.clone()
     self.assertEqual(scm.get_url_from_sandbox(self.clonedir), self.packagedir)
Example #3
0
 def testGetLocalUrl(self):
     scm = Git()
     self.assertEqual(scm.get_url_from_sandbox(self.packagedir), '')
Example #4
0
 def testGetLocalUrl(self):
     scm = Git()
     self.assertEqual(scm.get_url_from_sandbox(self.packagedir), "")