示例#1
0
 def test_new_repo_has_no_staged_commits(self):
     sandbox = create_sandbox(self)
     gitflow = GitFlow(sandbox).init()
     self.assertFalse(gitflow.has_staged_commits())
示例#2
0
文件: test_core.py 项目: OBdA/gitflow
 def test_new_repo_has_no_staged_commits(self):
     sandbox = create_sandbox(self)
     gitflow = GitFlow(sandbox).init()
     self.assertFalse(gitflow.has_staged_commits())
示例#3
0
 def test_existing_repo_has_staged_commits(self):
     gitflow = GitFlow(self.repo)
     self.assertTrue(gitflow.has_staged_commits())
示例#4
0
文件: test_core.py 项目: OBdA/gitflow
 def test_existing_repo_has_staged_commits(self):
     gitflow = GitFlow(self.repo)
     self.assertTrue(gitflow.has_staged_commits())