def test_404(webapp):
    try:
        urlopen("%s/foo" % 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_wsgi_application.py/test_404