

def test_retcode_when_skipping(qisrc_action, git_server):
    git_server.create_repo('bar')
    qisrc_action('init', rc.manifest_url)
    git_worktree = TestGitWorkTree()
    bar_proj = git_worktree.get_git_project('bar')
    git = TestGit(bar_proj.path)
    git.checkout('-b', 'devel')
    rc = qisrc_action('sync', retcode=True)
    assert (rc != 0)

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py test_retcode_when_skipping/VarMisuse@23/44 `git_server`->`rc`