def METHOD_NAME(yaml_env: Path):
    res = helpers.umamba_repoquery("search", "yaml")
    assert 'No entries matching "yaml" found' in res
    assert (
        "Channels may not be configured. Try giving a channel with '-c,--channel' option, or use `--use-local=1` to search for installed packages."
        in res
    )