class documentation
class HTML5TreeBuilderSmokeTest(HTMLTreeBuilderSmokeTest): (source)
Known subclasses: bs4.tests.test_html5lib.TestHTML5LibBuilder
Smoke test for a tree builder that supports HTML5.
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
A real XHTML document should come out more or less the same as it went in. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Inherited from HTMLTreeBuilderSmokeTest
:
Method | assert |
Assert that a given doctype string is handled correctly. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Parsers don't need to *understand* namespaces, but at the very least they should not choke on namespaces or lose data. |
Method | test |
A <br> tag is designated as an empty-element tag. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
One table can go inside another one. |
Method | test |
Make sure you can copy the tree builder. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Verify consistent handling of empty-element tags, no matter how they come in through the markup. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Prevent recurrence of a bug in the html5lib treebuilder. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Mostly to prevent a recurrence of a bug in the html5lib treebuilder. |
Method | test |
Prevent recurrence of a bug in the html5lib treebuilder. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Block elements can be nested. |
Method | test |
Undocumented |
Method | test |
Inline elements can be nested indefinitely. |
Method | test |
Undocumented |
Method | test |
Make sure normal, everyday HTML doctypes are handled correctly. |
Method | test |
Undocumented |
Method | test |
A <p> tag is never designated as an empty-element tag. |
Method | test |
Undocumented |
Method | test |
Whitespace must be preserved in <pre> and <textarea> tags, even if that would mean not prettifying the markup. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Parsers should be able to work with SoupStrainers. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
A tag that's not closed by the end of the document should be closed. |
Method | test |
Test the worst case (currently) for linking issues. |
Method | _document |
Generate and parse a document with the given doctype. |
Inherited from TreeBuilderSmokeTest
(via HTMLTreeBuilderSmokeTest
):
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |