summaryrefslogtreecommitdiff
path: root/src/beautifulsoup/tests/test_lxml.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2009-04-10 15:20:58 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2009-04-10 15:20:58 -0400
commit522c72ef59e2b544a30a6bfbc3001dc1e84fed45 (patch)
tree32f1d105d930207d2dd9b822e4051e2cb8f987d6 /src/beautifulsoup/tests/test_lxml.py
parent07874f2172a7402306582ba9c5f5ceb92f0f5f44 (diff)
Added a simple compatibility test suite for tree builders.
Diffstat (limited to 'src/beautifulsoup/tests/test_lxml.py')
-rw-r--r--src/beautifulsoup/tests/test_lxml.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/beautifulsoup/tests/test_lxml.py b/src/beautifulsoup/tests/test_lxml.py
new file mode 100644
index 0000000..5211301
--- /dev/null
+++ b/src/beautifulsoup/tests/test_lxml.py
@@ -0,0 +1,6 @@
+from treebuilder import CompatibilityTest
+from beautifulsoup.builder.lxml_builder import LXMLTreeBuilder
+import unittest
+
+def additional_tests():
+ return unittest.TestSuite([CompatibilityTest(LXMLTreeBuilder())])