Exemplo n.º 1
0
 def testDiffCaching(self):
     commitish = Commitish(self.repo, geogit.HEAD)
     diff = commitish.diff()
     self.assertEquals(diff, commitish._diff)
Exemplo n.º 2
0
 def testDiff(self):
     commitish = Commitish(self.repo, geogit.HEAD)
     diff = commitish.diff()
     self.assertEquals(1, len(diff))
     self.assertEquals("parks/5", diff[0].path)