diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-18 10:30:50 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-18 10:30:50 -0500 |
commit | 397483b981b7fe84d4f43dcb5c01268c3bf81602 (patch) | |
tree | a9292280a91219f0ffb3c91f31118eb2469b2ff6 /tests/test_html5lib.py | |
parent | 6510a4b2bad996786e74c53073fbf543f60a9a10 (diff) |
Added failing encoding conversion tests for html5lib.
Diffstat (limited to 'tests/test_html5lib.py')
-rw-r--r-- | tests/test_html5lib.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_html5lib.py b/tests/test_html5lib.py index 3efdebf..1034720 100644 --- a/tests/test_html5lib.py +++ b/tests/test_html5lib.py @@ -3,6 +3,7 @@ from beautifulsoup.element import Comment from test_lxml import ( TestLXMLBuilder, TestLXMLBuilderInvalidMarkup, + TestLXMLBuilderEncodingConversion, ) class TestHTML5Builder(TestLXMLBuilder): @@ -138,3 +139,11 @@ class TestHTML5BuilderInvalidMarkup(TestLXMLBuilderInvalidMarkup): utf8 = utf8.replace("\xe9", "\xc3\xa9") #print soup + + +class TestHTML5LibEncodingConversion(TestLXMLBuilderEncodingConversion): + @property + def default_builder(self): + return HTML5TreeBuilder() + + pass |