Ejemplo n.º 1
0
    def test_index_to_html_a(self) -> None:

        idx1 = IndexGO(('a', 'b', 'c'))
        self.assertEqual(
            idx1.to_html(),
            '<table border="1"><tbody><tr><td>a</td></tr><tr><td>b</td></tr><tr><td>c</td></tr></tbody></table>'
        )
Ejemplo n.º 2
0
    def test_index_to_html_a(self):

        idx1 = IndexGO(('a', 'b', 'c'))

        self.assertEqual(
            idx1.to_html(),
            '<table border="1"><thead><tr><th><span style="color: #777777">&lt;IndexGO&gt;</span></th></tr></thead><tbody><tr><td>a</td></tr><tr><td>b</td></tr><tr><td>c</td></tr></tbody></table>'
        )