def test_notfound(webapp):
    try:
        urlopen("%s/test_notfound" % webapp.server.http.base)
    except __HOLE__ as e:
        assert e.code == 404
        assert e.msg == "Not Found"
    else:
        assert False
dataset/ETHPy150Open circuits/circuits/tests/web/test_exceptions.py/test_notfound