Exemple #1
0
 def test_repo_operations(self):
     teardown_repo()
     res = git.clone(
         'git://github.com/markstory/lint-review.git',
         clone_path)
     assert res, 'Cloned successfully.'
     assert git.exists(clone_path), 'Cloned dir should be there.'
     git.destroy(clone_path)
     assert not(git.exists(clone_path)), 'Cloned dir should be gone.'
Exemple #2
0
def test_repo_operations():
    path = settings['WORKSPACE'] + '/test_clone'

    assert not (git.exists(path)), 'Directory should not exist.'
    res = git.clone('git://github.com/markstory/lint-review.git', path)
    assert res, 'Cloned successfully.'
    assert git.exists(path), 'Cloned dir should be there.'
    git.destroy(path)
    assert not (git.exists(path)), 'Cloned dir should be gone.'
Exemple #3
0
def test_repo_operations():
    path = settings["WORKSPACE"] + "/test_clone"

    assert not (git.exists(path)), "Directory should not exist."
    res = git.clone("git://github.com/markstory/lint-review.git", path)
    assert res, "Cloned successfully."
    assert git.exists(path), "Cloned dir should be there."
    git.destroy(path)
    assert not (git.exists(path)), "Cloned dir should be gone."
Exemple #4
0
def test_repo_operations():
    path = settings['WORKSPACE'] + '/test_clone'

    assert not(git.exists(path)), 'Directory should not exist.'
    res = git.clone(
        'git://github.com/markstory/lint-review.git',
        path)
    assert res, 'Cloned successfully.'
    assert git.exists(path), 'Cloned dir should be there.'
    git.destroy(path)
    assert not(git.exists(path)), 'Cloned dir should be gone.'
Exemple #5
0
def test_repo_clone_no_repo():
    path = settings['WORKSPACE'] + '/test_clone'
    git.clone(
        'git://github.com/markstory/it will never work.git',
        path)
Exemple #6
0
def test_repo_clone_no_repo():
    git.clone('git://github.com/markstory/it will never work.git', clone_path)
Exemple #7
0
def test_repo_clone_no_repo():
    path = settings['WORKSPACE'] + '/test_clone'
    git.clone(
        'git://github.com/markstory/it will never work.git',
        path)
Exemple #8
0
def test_repo_clone_no_repo():
    path = settings["WORKSPACE"] + "/test_clone"
    git.clone("git://github.com/markstory/it will never work.git", path)