Beispiel #1
0
def client(wsgi_app):
    app = StandardEndpointMiddleware(wsgi_app)
    return Client(app, BaseResponse)
Beispiel #2
0
def get_client(app=None):
    if app is None:
        app = wsgi_app()
    newapp = StandardEndpointMiddleware(app)
    return Client(newapp, BaseResponse)