Skip to content

Add test for #115 #132

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions