def METHOD_NAME(self):
    self.request.form.update(
        {"action": "deletelayout", "layout": "custom/basic.html"}
    )
    login(self.portal, TEST_USER_NAME)
    setRoles(self.portal, TEST_USER_ID, ["Editor"])
    with self.assertRaises(Unauthorized):
        self.portal.restrictedTraverse("@@manage-layouts-from-editor")()