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'])
def test_branches_empty(self, repo: Repo): compare(repo.branches(), expected=[])