예제 #1
0
 def test_tokens_to_html_object_with_body_html(self):
     t = Tokens()
     tokens = t.tokenise(html)
     ho = HTMLObject()
     ho.tokens_to_html_object(tokens)
     print("done")
예제 #2
0
 def test_tokens_to_html_object_with_title(self):
     tokens = ["asdf", "<title>", "My title", "</title>"]
     ho = HTMLObject()
     ho.tokens_to_html_object(tokens)
     print("done")