def METHOD_NAME(
    self, event, pyramid_config, pyramid_request
):
    pyramid_config.testing_securitypolicy("acct:safet.baljić@example.com")
    settings = pyramid_request.registry.settings
    settings["h.sentry_dsn_frontend"] = "https://sentry.io/flibble"
    subscribers.add_renderer_globals(event)
    result = event["frontend_settings"]["raven"]["userid"]
    assert result == "acct:safet.baljić@example.com"