def METHOD_NAME(self):
    """Assert an IntegrityError without the email key results in a 500 error"""
    err = IntegrityError("SQL Statement", {}, None)
    msg, errno = app.integrity_error_handler(err)
    self.assertEqual(500, errno)
    self.assertEqual("The server encountered an unexpected error", msg)