def test_valid_log_level_lowercase(self): "Tests the log levels lowercased" with pytest.raises(EnvironmentError): config.valid_log_level("foo") config.valid_log_level("info")
def test_valid_log_level(self): "Tests the log levels" with pytest.raises(EnvironmentError): config.valid_log_level("foo") config.valid_log_level("INFO")