

@patch('paver.git.sh')
def test_branch_list_correctly_parses_remote_branch_output(sh):
    output = git.branch_list(path='repo_path', remote_branches_only=True, __override__='\n    github/gh-pages\n    github/git_support\n    github/master')
    assert (sh == ('', ['github/gh-pages', 'github/git_support', 'github/master']))

dataset/ETHPy150Open paver/paver/paver/tests/test_git.py test_branch_list_correctly_parses_remote_branch_output/VarMisuse@37/86 `output`->`sh`