Name Description Size
__init__.py 67
conftest.py Throws an exception halting pytest if pytest-expect isn't working 3955
sanitizer-testdata
sanitizer.py 1852
serializer-testdata
support.py If the current heading is a test section heading return the heading, otherwise return False 6079
test_alphabeticalattributes.py Verify filter works in the context of everything else 2138
test_encoding.py 4820
test_meta.py Creates a mock with a __repr__ returning r Also provides __str__ mock with default mock behaviour 1090
test_optionaltags_filter.py 171
test_parser2.py 4072
test_sanitizer.py <img src="%s:%s">foo</a> 5672
test_serializer.py html5lib tree-walkers use a dict of (namespace, name): value for attributes, but JSON cannot represent this. Convert from the format in the serializer tests (a list of dicts with "namespace", "name", and "value" as keys) to html5lib's tree-walker format. 8358
test_stream.py 10561
test_tokenizer2.py 2053
test_treeadapters.py <html xml:lang="en"> <title>Directory Listing</title> <a href="/"><b/></p> 1843
test_treewalkers.py naively sets an attribute on the first child of the document fragment passed in 8268
test_whitespace_filter.py 4787
tokenizer.py Test whether the test has passed or failed If the ignoreErrorOrder flag is set to true we don't test the relative positions of parse errors and non parse errors 9139
tokenizertotree.py 1966
tree_construction.py 7830
us-ascii.html Test 53
utf-8-bom.html Test 59