def test_git_clean_false(self):
     marker = "%s/REMOVE_THIS_FILE" % dummypath
     subprocess.call(["touch", marker])
     self.assertFalse(bt.is_git_clean(dummypath))
     subprocess.call(["rm", marker])
Exemple #2
0
 def test_git_clean_false(self):
     marker = "%s/REMOVE_THIS_FILE" % dummypath
     subprocess.call(["touch", marker])
     self.assertFalse(bt.is_git_clean(dummypath))
     subprocess.call(["rm", marker])
 def test_git_clean_true(self):
     self.assertTrue(bt.is_git_clean(dummypath),
                     bt.git_status(dummypath))
Exemple #4
0
 def test_git_clean_true(self):
     self.assertTrue(bt.is_git_clean(dummypath), bt.git_status(dummypath))