예제 #1
0
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)
예제 #2
0
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)
예제 #3
0
 def setup(self):
     self.doc = HTMLDocument()
예제 #4
0
 def setup(self):
     self.doc = HTMLDocument()