test: escape real text
This commit is contained in:
@@ -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
|
@ddt.unpack
|
||||||
def test_specials_chars(self, inp, out):
|
def test_specials_chars(self, inp, out):
|
||||||
|
|||||||
Reference in New Issue
Block a user