

def test_do_not_sync_when_clone_fails(qisrc_action, git_server, record_messages):
    git_server.create_repo('bar.git')
    qisrc_action('init', git_server.manifest_url)
    git_server.create_repo('baz.git')
    git_server.srv.join('baz.git').remove()
    rc = git_server('sync', retcode=True)
    assert (rc != 0)
    assert (not record_messages.find('Success'))

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py test_do_not_sync_when_clone_fails/VarMisuse@52/94 `qisrc_action`->`git_server`