def METHOD_NAME(self, pyramid_request):
    del pyramid_request.registry.settings["feature_flags_cookie_secret"]
    with pytest.raises(
        SettingError,
        match="The feature_flags_cookie_secret deployment setting is required",
    ):
        JWTCookieHelper("test_cookie_name", pyramid_request)