Пример #1
0
 def test_branch(self, repo: Repo):
     repo.commit_content('a', branch='a-branch')
     repo.commit_content('b', branch='b-branch')
     compare(repo.branches(), expected=['a-branch', 'b-branch'])
Пример #2
0
 def test_branches_empty(self, repo: Repo):
     compare(repo.branches(), expected=[])