test: escape real text

This commit is contained in:
QuentinN42
2022-02-11 11:44:47 +01:00
parent fba5b70d46
commit d7f59fe219

View File

@@ -32,6 +32,8 @@ class TextToXMLTestCase(unittest.TestCase):
('>', '>'),
('"', '"'),
("'", '''),
("too many blank lines (3 > 2)", 'too many blank lines (3 > 2)'),
('line too long (100 > 80 characters)', 'line too long (100 > 80 characters)')
)
@ddt.unpack
def test_specials_chars(self, inp, out):