Exemplo n.º 1
0
def consume(app, path):
    request = app.request(webob.Request.blank(path).environ)
    return traject_consume(app, request), request
Exemplo n.º 2
0
def consume(mount, path, parameters=None):
    if parameters:
        path += '?' + urlencode(parameters, True)
    request = mount.request(webob.Request.blank(path).environ)
    return traject_consume(mount, request), request
Exemplo n.º 3
0
def consume(mount, path, parameters=None):
    if parameters:
        path += '?' + urlencode(parameters, True)
    request = mount.request(webob.Request.blank(path).environ)
    return traject_consume(mount, request), request
Exemplo n.º 4
0
def consume(app, path):
    request = app.request(webob.Request.blank(path).environ)
    return traject_consume(app, request), request