def test_get_log_destinations_notempty(monkeypatch):
 monkeypatch.setenv('WALE_LOG_DESTINATION', 'syslog')
 out = log_help.get_log_destinations()
 assert (out == ['syslog'])

def test_get_log_destinations_notempty ( monkeypatch ) : monkeypatch . setenv ( 'WALE_LOG_DESTINATION' , 'syslog' ) out = log_help . get_log_destinations ( ) assert ( out == [ 'syslog' ] )
wale_log_destination is set .