def test_upper_chars(self): with pytest.raises(ValidationError): validate_lower('Upper case')
def test_ok(self): validate_lower('all_lower_case')