def METHOD_NAME():
    """
    Test if _render_filenames fails upon getting a template not in
    TEMPLATE_REGISTRY.
    """
    path = "/srv/salt/saltines"
    dest = "/srv/salt/cheese"
    saltenv = "base"
    template = "biscuits"
    ret = (path, dest)
    pytest.raises(
        CommandExecutionError, cp._render_filenames, path, dest, saltenv, template
    )