def test_new_repo_has_no_staged_commits(self): sandbox = create_sandbox(self) gitflow = GitFlow(sandbox).init() self.assertFalse(gitflow.has_staged_commits())
def test_new_repo_has_no_staged_commits(self): sandbox = create_sandbox(self) gitflow = GitFlow(sandbox).init() self.assertFalse(gitflow.has_staged_commits())
def test_existing_repo_has_staged_commits(self): gitflow = GitFlow(self.repo) self.assertTrue(gitflow.has_staged_commits())
def test_existing_repo_has_staged_commits(self): gitflow = GitFlow(self.repo) self.assertTrue(gitflow.has_staged_commits())