summaryrefslogtreecommitdiff
path: root/tests/test_html5lib.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-01-30 22:22:28 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-01-30 22:22:28 -0500
commit02b149019ac6c7b7791c63b5bbc312a6b1a0636c (patch)
treefd41c4fa0a2fade6b6c98aca581e5e72a32168fb /tests/test_html5lib.py
parentf79871fb934eeb3ab220bcbf7d471dd9f6feca93 (diff)
Stop pretending that the 'generic' builder test is different from the lxml test.
Diffstat (limited to 'tests/test_html5lib.py')
-rw-r--r--tests/test_html5lib.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/test_html5lib.py b/tests/test_html5lib.py
index 417e87b..3a4ee27 100644
--- a/tests/test_html5lib.py
+++ b/tests/test_html5lib.py
@@ -1,11 +1,10 @@
from beautifulsoup.builder.html5lib_builder import HTML5TreeBuilder
-from beautifulsoup.testing import (
- BuilderInvalidMarkupSmokeTest,
- BuilderSmokeTest,
-)
+from test_lxml import (
+ TestLXMLBuilder,
+ TestLXMLBuilderInvalidMarkup,
+ )
-
-class TestHTML5Builder(BuilderSmokeTest):
+class TestHTML5Builder(TestLXMLBuilder):
"""See `BuilderSmokeTest`."""
@property
@@ -26,7 +25,7 @@ class TestHTML5Builder(BuilderSmokeTest):
self.assertSoupEquals("<b> </b>")
-class TestHTML5BuilderInvalidMarkup(BuilderInvalidMarkupSmokeTest):
+class TestHTML5BuilderInvalidMarkup(TestLXMLBuilderInvalidMarkup):
"""See `BuilderInvalidMarkupSmokeTest`."""
@property