

def test_args(webapp):
    args = ('1', '2', '3')
    kwargs = {
        '1': 'one',
        '2': 'two',
        '3': 'three',
    }
    url = ('%s/test_args/%s' % (data.server.http.base, '/'.join(args)))
    data = urlencode(kwargs).encode()
    f = urlopen(url, data)
    data = f.read().split(b'\n')
    assert (eval(data[0]) == args)
    assert (eval(data[1]) == kwargs)

dataset/ETHPy150Open circuits/circuits/tests/web/test_wsgi_application.py test_args/VarMisuse@47/75 `webapp`->`data`