def test_individual_lines_within_vcard_are_delimited_by_the_rfc5322_line_break_validation_error(self): issues = validate_line_endings(["foo", "bar\nbaz"]) self.assertEqual(len(issues), 1)
def test_individual_lines_within_vcard_are_delimited_by_the_rfc5322_line_break_validation_multiple_errors(self): issues = validate_line_endings(["fo\no\n", "\rban\r", "\r", "\n"]) self.assertEqual(len(issues), 6)
def test_individual_lines_within_vcard_are_delimited_by_the_rfc5322_line_break_validation(self): self.assertEqual(validate_line_endings(MINIMAL_VCARD_LINES), [])