Example #1
0
 def testGetSubfolderRoot(self):
     scm = Git()
     self.assertEqual(
         scm.get_root_from_sandbox(join(self.packagedir, 'testpackage')),
         self.packagedir)
Example #2
0
 def testGetCloneRoot(self):
     scm = Git()
     self.clone()
     self.assertEqual(scm.get_root_from_sandbox(self.clonedir),
                      self.clonedir)
Example #3
0
 def testGetRoot(self):
     scm = Git()
     self.assertEqual(scm.get_root_from_sandbox(self.packagedir),
                      self.packagedir)
Example #4
0
 def testGetCloneSubfolderRoot(self):
     scm = Git()
     self.clone()
     self.assertEqual(scm.get_root_from_sandbox(join(self.clonedir, "testpackage")), self.clonedir)
Example #5
0
 def testGetCloneRoot(self):
     scm = Git()
     self.clone()
     self.assertEqual(scm.get_root_from_sandbox(self.clonedir), self.clonedir)
Example #6
0
 def testGetRoot(self):
     scm = Git()
     self.assertEqual(scm.get_root_from_sandbox(self.packagedir), self.packagedir)
Example #7
0
 def testGetSubfolderRoot(self):
     scm = Git()
     self.assertEqual(scm.get_root_from_sandbox(join(self.packagedir, 'testpackage')),
                      self.packagedir)