def METHOD_NAME():
    oso = Oso(read_action="fetch")
    # Allow user to "fetch" bar
    oso.load_str("""allow("graham", "fetch", "bar");""")
    with pytest.raises(NotFoundError):
        oso.authorize("not graham", "frob", "bar")
    with pytest.raises(ForbiddenError):
        oso.authorize("graham", "frob", "bar")