def test(webapp):
    try:
        Root().register(webapp)
        urlopen(webapp.server.http.base)
    except __HOLE__ as e:
        assert e.code == 500
    else:
        assert False
dataset/ETHPy150Open circuits/circuits/tests/web/test_request_failure.py/test