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