

@patch('koi.configure.options')
def test_syslog_off(options):
    options.syslog_host = ''
    logger = logging.getLogger()
    logger.handlers = []
    configure_syslog()
    assert (not logger.handlers)

dataset/ETHPy150Open openpermissions/koi/tests/unit/ssl/test_configure.py test_syslog_off/original