def METHOD_NAME(
    fake_get_project_request: web.Request, valid_project_kwargs: dict[str, Any]
):
    with pytest.raises(PermalinkNotAllowedError):
        create_permalink_for_study(
            fake_get_project_request,
            **{**valid_project_kwargs, "project_type": ProjectType.STANDARD}
        )