コード例 #1
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])
コード例 #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])
コード例 #3
0
 def test_git_clean_true(self):
     self.assertTrue(bt.is_git_clean(dummypath),
                     bt.git_status(dummypath))
コード例 #4
0
 def test_git_clean_true(self):
     self.assertTrue(bt.is_git_clean(dummypath), bt.git_status(dummypath))