

def test_sync_skips_unconfigured_projects(qisrc_action, git_server, test_git):
    git_server.create_repo('foo.git')
    test_git('init', git_server.manifest_url)
    git_worktree = TestGitWorkTree()
    cwd = py.path.local(os.getcwd())
    new_proj = cwd.mkdir('new_proj')
    git = test_git(new_proj.strpath)
    git.initialize()
    git_worktree.add_git_project(new_proj.strpath)
    rc = qisrc_action('sync', retcode=True)
    assert (rc != 0)

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py test_sync_skips_unconfigured_projects/VarMisuse@21/43 `qisrc_action`->`test_git`