def test_host_tools_host_tools_not_built(build_worktree, fake_ctc):
    qibuild.config.add_build_config("foo", host=True)
    footool = build_worktree.add_test_project("footool")
    usefootool_proj = build_worktree.add_test_project("usefootool")
    build_worktree.set_active_config("fake-ctc")
    cmake_builder = qibuild.cmake_builder.CMakeBuilder(build_worktree)
    # pylint:disable-msg=E1101
    with pytest.raises(qisys.error.Error) as e:
        cmake_builder.get_host_dirs(usefootool_proj)
    assert e.value.message in "(Using 'foo' build config)"
dataset/ETHPy150Open aldebaran/qibuild/python/qibuild/test/test_cmake_builder.py/test_host_tools_host_tools_not_built/swapped operands of `in`