def test_value_has_spaces_no_comma(self): with self.assertRaises(ValidationError): csv_validator('a b')
def test_value_has_spaces_ends_with_comma(self): csv_validator('a b, cd,')
def test_no_value(self): csv_validator('')