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"
def i18n_pull_overrides(): """ Update translation overrides. """ git.pull(TRANSLATION_OVERRIDES_PATH)
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"