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