

def test_sync_clones_new_repos(qisrc_action, git_server):
    git_server.create_repo('foo.git')
    git_server.create_repo('bar.git')
    qisrc_action('init', git_server.manifest_url)
    cwd = py.path.local(os.getcwd())
    assert (not git_server.join('foo').join('README').check(file=True))
    git_server.push_file('foo.git', 'README', 'This is foo\n')
    qisys.script.run_action('qisrc.actions.sync')
    assert cwd.join('foo').join('README').check(file=True)

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py test_sync_clones_new_repos/VarMisuse@53/86 `cwd`->`git_server`