コード例 #1
0
 def test_custom_repo_has_branches(self):
     gitflow = GitFlow(self.repo).init()
     self.assertItemsEqual(['master', 'production'], gitflow.branch_names())
コード例 #2
0
 def test_empty_repo_has_no_branches(self):
     repo = create_git_repo(self)
     gitflow = GitFlow(repo)
     self.assertItemsEqual([], gitflow.branch_names())
コード例 #3
0
 def test_gitflow_init_creates_branches(self):
     repo = create_git_repo(self)
     gitflow = GitFlow(repo).init()
     self.assertItemsEqual(['master', 'develop'], gitflow.branch_names())
コード例 #4
0
ファイル: test_core.py プロジェクト: OBdA/gitflow
 def test_custom_repo_has_branches(self):
     gitflow = GitFlow(self.repo).init()
     self.assertItemsEqual(['master', 'production'],
             gitflow.branch_names())
コード例 #5
0
ファイル: test_core.py プロジェクト: OBdA/gitflow
 def test_empty_repo_has_no_branches(self):
     repo = create_git_repo(self)
     gitflow = GitFlow(repo)
     self.assertItemsEqual([], gitflow.branch_names())
コード例 #6
0
ファイル: test_core.py プロジェクト: OBdA/gitflow
 def test_gitflow_init_creates_branches(self):
     repo = create_git_repo(self)
     gitflow = GitFlow(repo).init()
     self.assertItemsEqual(['master', 'develop'],
             gitflow.branch_names())