Exemplo n.º 1
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)
Exemplo n.º 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)
Exemplo n.º 3
0
 def setup(self):
     self.doc = XHTMLDocument()
Exemplo n.º 4
0
 def setup(self):
     self.doc = XHTMLDocument()