

def test_qisrc_add_url_in_subdir(qisrc_action, git_server):
    foo = git_server.create_repo('foo.git')
    lib = qisrc_action.tmpdir.mkdir('lib')
    qisrc_action('add', foo.clone_url, cwd=lib)
    qisrc_action.reload_worktree()
    git_worktree = qisrc_action.git_worktree
    assert git_worktree.get_git_project('lib/foo')

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_add.py test_qisrc_add_url_in_subdir/original