class TestHTMLDocument: def setup(self): self.doc = HTMLDocument() def test_render(self): expect = '{}\n<html></html>'.format(doctypes['html5']) test.assert_equal(self.doc.render(), expect)
def setup(self): self.doc = HTMLDocument()