@patch('paver.git.sh')
def test_simple_pull(sh):
    git.pull("repo_path", "origin_remote", "master_branch")
    assert sh.called
    assert sh.call_args[0][0] == "cd repo_path; git pull origin_remote master_branch"
dataset/ETHPy150Open paver/paver/paver/tests/test_git.py/test_simple_pull/original