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)
示例#2
0
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()
示例#4
0
 def setup(self):
     self.doc = XHTMLDocument()