def build_real_request(wsgi_environ):
 config = testing.setUp(settings=DEFAULT_SETTINGS)
 includeme(config)
 request = pyramid_request.Request(wsgi_environ)
 request.registry = config.registry
 return request

def build_real_request ( wsgi_environ ) : config = testing . setUp ( settings = DEFAULT_SETTINGS ) includeme ( config ) request = pyramid_request . Request ( wsgi_environ ) request . registry = config . registry return request
build a pyramid request .