diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 15:50:14 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 15:50:14 -0500 |
commit | 250ae75d1482adf1241c86c82b5ba34944b7e927 (patch) | |
tree | 655a0428186a7f911456d15b6f94af68c3f0e2d4 /tests/test_lxml.py | |
parent | 784dca53bc03943472f58b05b6fcdff801343dac (diff) | |
parent | fe6a756f95d724456c368544949d41c16d0cc95b (diff) |
Created a function that puts all tree-builders in a module into beautifulsoup.builders.
Diffstat (limited to 'tests/test_lxml.py')
-rw-r--r-- | tests/test_lxml.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/test_lxml.py b/tests/test_lxml.py index de2ce7b..9d08aef 100644 --- a/tests/test_lxml.py +++ b/tests/test_lxml.py @@ -9,14 +9,16 @@ from beautifulsoup.testing import SoupTest class TestLXMLBuilder(SoupTest): - """A smoke test for the LXML tree builders. - - Subclass this to test some other tree builder. Subclasses of this - test ensure that all of Beautiful Soup's tree builders generate - more or less the same trees. It's okay for trees to differ--just - override the appropriate test method to demonstrate how one tree - builder differs from the LXML builder. But in general, all tree - builders should generate trees that make most of these tests pass. + """A smoke test for the LXML tree builder. + + Subclass this to test some other HTML tree builder. Subclasses of + this test ensure that all of Beautiful Soup's tree builders + generate more or less the same trees. + + It's okay for trees to differ--just override the appropriate test + method to demonstrate how one tree builder differs from the LXML + builder. But in general, all HTML tree builders should generate + trees that make most of these tests pass. """ def test_bare_string(self): |