def METHOD_NAME(provisioner_params):
    wrong_backend = "absent-name-in-backend-mapping"
    match_err_msg = "Provisioner class was not registered for the '%s' backend" % wrong_backend
    with pytest.raises(ProvisionerError, match=match_err_msg):
        provisioner_factory.discover_provisioners(backend=wrong_backend, **provisioner_params)