def test_parse_warmup(): assert parse_warmup('yes') is True assert parse_warmup('on') is True assert parse_warmup('true') is True assert parse_warmup('off') is False assert parse_warmup('off') is False assert parse_warmup('no') is False assert parse_warmup('') is True assert parse_warmup('auto') in [True, False]
def test_parse_warmup(): assert parse_warmup('yes') == True assert parse_warmup('on') == True assert parse_warmup('true') == True assert parse_warmup('off') == False assert parse_warmup('off') == False assert parse_warmup('no') == False assert parse_warmup('') == True assert parse_warmup('auto') in [True, False]