Skip to content

Commit be816fa

Browse files
ccbennyrrthomas
authored andcommitted
t40_html.py: Test for multiple encoding levels (bug #61)
1 parent dac37fb commit be816fa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/t40_html.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,13 @@ def test_3(self):
2121
output = 'a &#ZZ &#; &#'
2222
common.request('html..')
2323
common.validate(input, output)
24+
# Multiple encoding levels should be decodable. Bug #66.
25+
def test_4(self):
26+
input = '(Parenthetical)'
27+
intermediate1 = '(Parenthetical)'
28+
intermediate2 = '(Parenthetical)'
29+
output = '(Parenthetical)'
30+
common.request('html..')
31+
common.validate(input, intermediate1)
32+
common.validate(intermediate1, intermediate2)
33+
common.validate(intermediate2, output)

0 commit comments

Comments
 (0)