package documentation

Helper classes for tests.

Module test_builder Undocumented
Module test_builder_registry Tests of the builder registry.
Module test_dammit No module docstring; 2/3 classes documented
Module test_docs Test harness for doctests.
Module test_element Tests of classes in element.py.
Module test_formatter Undocumented
Module test_html5lib Tests to ensure that the html5lib tree builder generates good trees.
Module test_htmlparser Tests to ensure that the html.parser tree builder generates good trees.
Module test_lxml Tests to ensure that the lxml tree builder generates good trees.
Module test_navigablestring Undocumented
Module test_pageelement Tests of the bs4.element.PageElement class
Module test_soup Tests of Beautiful Soup as a whole.
Module test_tag No module docstring; 2/2 classes documented
Module test_tree Tests for Beautiful Soup's tree traversal methods.

From __init__.py:

Class HTML5TreeBuilderSmokeTest Smoke test for a tree builder that supports HTML5.
Class HTMLTreeBuilderSmokeTest A basic test of a treebuilder's competence.
Class SoupTest No class docstring; 0/1 property, 7/7 methods documented
Class TreeBuilderSmokeTest Undocumented
Class XMLTreeBuilderSmokeTest No class docstring; 3/21 methods documented
Constant BAD_DOCUMENT Undocumented
Constant HTML5LIB_PRESENT Undocumented
Constant LXML_PRESENT Undocumented
Constant SOUP_SIEVE_PRESENT Undocumented
Variable __license__ Undocumented
__license__: str = (source)

Undocumented

SOUP_SIEVE_PRESENT: bool = (source)

Undocumented

Value
True
HTML5LIB_PRESENT: bool = (source)

Undocumented

Value
True
LXML_PRESENT: bool = (source)

Undocumented

Value
True
BAD_DOCUMENT: str = (source)

Undocumented

Value
'''A bare string
<!DOCTYPE xsl:stylesheet SYSTEM "htmlent.dtd">
<!DOCTYPE xsl:stylesheet PUBLIC "htmlent.dtd">
<div><![CDATA[A CDATA section where it doesn\'t belong]]></div>
<div><svg><![CDATA[HTML5 does allow CDATA sections in SVG]]></svg></div>
<div>A <meta> tag</div>
<div>A <br> tag that supposedly has contents.</br></div>
...