コード例 #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()