def METHOD_NAME(post, plan_factory, plan_template_factory):
    template = plan_template_factory()
    plan_factory(plan_template=template)
    post.return_value = mock.Mock(status_code=500, text="Fatal Error")
    with pytest.raises(HTTPError, match="An internal server error occurred."):
        execute_release_test()