def test_filter_log_by_severity_error_negative(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.ERROR) == False
def test_filter_log_by_severity_critical(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.CRITICAL) == True
def test_filter_log_by_severity_warning_negative(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.WARNING) == False
def test_filter_log_by_severity_error(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.ERROR) == True
def test_filter_log_by_severity_warning(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.WARNING) == True
def test_filter_log_by_severity_info_negative(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.INFO) == False
def test_filter_log_by_severity_info(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.INFO) == True
def test_filter_log_by_severity_debug(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.DEBUG) == True
def test_filter_log_by_severity_critical_negative(log_entry): assert filter_log_by_severity(log_entry, SeverityLevel.CRITICAL) == False