예제 #1
0
def test_pull_rev_url(sh):
    hg.pull('foo', 'bar', 'baz')
    assert sh.called
    assert sh.call_args[0][0] == 'hg pull -r bar -R foo baz', sh.call_args[0][0]
예제 #2
0
def test_pull_simple(sh):
    hg.pull('foo')
    assert sh.called
    assert sh.call_args[0][0] == 'hg pull -R foo'
예제 #3
0
파일: test_hg.py 프로젝트: spacefan/paver
def test_pull_simple(sh):
    hg.pull('foo')
    assert sh.called
    assert sh.call_args[0][0] == 'hg pull -R foo'
예제 #4
0
파일: test_hg.py 프로젝트: spacefan/paver
def test_pull_rev_url(sh):
    hg.pull('foo', 'bar', 'baz')
    assert sh.called
    assert sh.call_args[0][0] == 'hg pull -r bar -R foo baz', sh.call_args[0][
        0]
예제 #5
0
파일: test_hg.py 프로젝트: drewrm/paver
def test_pull(sh):
    hg.pull("bar")
    assert sh.called
    assert sh.call_args[0][0] == "cd bar; hg pull"