'A random exception passes happily through AdminZulipHandler'

def test_basic(self):

    handler = self.get_admin_zulip_handler(self.logger)
    try:
        raise Exception('Testing    Error!')
    except Exception:
        exc_info = sys.exc_info()
    record = self.logger.makeRecord('name', logging.ERROR, 'function', 16, 'message', {}, exc_info)
    handler.emit(record)
