예제 #1
0
파일: test_git.py 프로젝트: dcramer/paver
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"
예제 #2
0
def i18n_pull_overrides():
    """
    Update translation overrides.
    """
    git.pull(TRANSLATION_OVERRIDES_PATH)
예제 #3
0
def i18n_pull_overrides():
    """
    Update translation overrides.
    """
    git.pull(TRANSLATION_OVERRIDES_PATH)
예제 #4
0
파일: test_git.py 프로젝트: HonzaKral/paver
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"