Example #1
0
 def testDeletedButTrackedFile(self):
     scm = Mercurial()
     self.delete(self.packagedir)
     # Note: The sandbox is reported as unclean
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), True)
Example #2
0
 def testModifiedFile(self):
     scm = Mercurial()
     self.modify(self.packagedir)
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), True)
Example #3
0
 def testRemovedFile(self):
     scm = Mercurial()
     self.remove(self.packagedir)
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), True)
Example #4
0
 def testCleanSandbox(self):
     scm = Mercurial()
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), False)
Example #5
0
 def testDeletedButTrackedFile(self):
     scm = Mercurial()
     self.delete(self.packagedir)
     # Note: The sandbox is reported as unclean
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), True)
Example #6
0
 def testRemovedFile(self):
     scm = Mercurial()
     self.remove(self.packagedir)
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), True)
Example #7
0
 def testModifiedFile(self):
     scm = Mercurial()
     self.modify(self.packagedir)
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), True)
Example #8
0
 def testCleanSandbox(self):
     scm = Mercurial()
     self.assertEqual(scm.is_unclean_sandbox(self.packagedir), False)