Skip to content

Add test for #115 #132

Closed
Closed
@gsnedders

Description

@gsnedders

Not sure why #115 has no test, but it appears not to.

walker = html5lib.getTreeWalker("lxml")
tree = html5lib.parseFragment("a", treebuilder="lxml")
assert list(walker(tree)) == [{'data': 'a', u'type': 'Characters'}]

That should work, but we probably want to test with all tree walkers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions