Exemplo n.º 1
0
 def test_markdown1(self):
     """Tests the '##' Markdown input of a h2 element."""
     self.assertEquals(sd(self.markdown1), self.output)
Exemplo n.º 2
0
 def test_hellip(self):
     """Tests the HTML input of an horizontal ellipsis."""
     self.assertEquals(sd(self.hellip_markdown), self.hellip_html)
Exemplo n.º 3
0
 def test_markdown1(self):
     """Tests the '##' Markdown input of a h2 element."""
     self.assertEquals(sd(self.markdown1), self.output)
Exemplo n.º 4
0
 def test_html(self):
     """Tests the HTML input of an superscript element."""
     self.assertEquals(sd(self.output), self.output)
Exemplo n.º 5
0
 def test_markdown(self):
     """Tests the Markdown input of a table element."""
     self.assertEquals(sd(self.markdown), self.output)
Exemplo n.º 6
0
 def test_ordered_markdown(self):
     """Tests the Markdown input of an ordered list element."""
     self.assertEquals(sd(self.unordered_markdown), self.unordered_html)
Exemplo n.º 7
0
 def test_markdown2(self):
     """Tests the '~~~' Markdown input of a pre element."""
     self.assertEquals(sd(self.markdown2), self.output)
Exemplo n.º 8
0
 def test_markdown(self):
     """Tests the Markdown input of an strong element."""
     self.assertEquals(sd(self.output), self.output)
Exemplo n.º 9
0
 def test_html(self):
     """Tests the HTML input of an superscript element."""
     self.assertEquals(sd(self.output), self.output)
Exemplo n.º 10
0
 def test_ordered_html(self):
     """Tests the HTML input of an ordered list element."""
     self.assertEquals(sd(self.ordered_html), self.ordered_html)
Exemplo n.º 11
0
 def test_markdown2(self):
     """Tests the '~~~' Markdown input of a pre element."""
     self.assertEquals(sd(self.markdown2), self.output)
Exemplo n.º 12
0
 def test_ordered_markdown(self):
     """Tests the Markdown input of an ordered list element."""
     self.assertEquals(sd(self.unordered_markdown), self.unordered_html)
Exemplo n.º 13
0
 def test_title_attr_markdown(self):
     """Tests the Markdown 'title' attribute of an image element."""
     self.assertEquals(sd(self.title_markdown), self.title_html)
Exemplo n.º 14
0
 def test_title_attr_html(self):
     """Tests the HTML 'title' attribute of an image element."""
     self.assertEquals(sd(self.title_html), self.title_html)
Exemplo n.º 15
0
 def test_title_attr_html(self):
     """Tests the HTML 'title' attribute of an image element."""
     self.assertEquals(sd(self.title_html), self.title_html)
Exemplo n.º 16
0
 def test_html(self):
     """Tests the HTML input of a table element."""
     self.assertEquals(sd(self.output), self.output)
Exemplo n.º 17
0
 def test_title_attr_markdown(self):
     """Tests the Markdown 'title' attribute of an image element."""
     self.assertEquals(sd(self.title_markdown), self.title_html)
Exemplo n.º 18
0
 def test_markdown(self):
     """Tests the Markdown input of a table element."""
     self.assertEquals(sd(self.markdown), self.output)
Exemplo n.º 19
0
 def test_ordered_html(self):
     """Tests the HTML input of an ordered list element."""
     self.assertEquals(sd(self.ordered_html), self.ordered_html)
Exemplo n.º 20
0
 def test_double_quote(self):
     """Tests the HTML input of an double quote."""
     self.assertEquals(sd(self.double_quote_markdown),
                       self.double_quote_html)
Exemplo n.º 21
0
 def test_markdown(self):
     """Tests the Markdown input of an strong element."""
     self.assertEquals(sd(self.output), self.output)
Exemplo n.º 22
0
 def test_hellip(self):
     """Tests the HTML input of an horizontal ellipsis."""
     self.assertEquals(sd(self.hellip_markdown), self.hellip_html)
Exemplo n.º 23
0
 def test_html(self):
     """Tests the HTML input of a table element."""
     self.assertEquals(sd(self.output), self.output)
Exemplo n.º 24
0
 def test_en_dash(self):
     """Tests the HTML input of an em dash."""
     self.assertEquals(sd(self.em_dash_markdown), self.em_dash_html)
Exemplo n.º 25
0
 def test_double_quote(self):
     """Tests the HTML input of an double quote."""
     self.assertEquals(sd(self.double_quote_markdown), self.double_quote_html)
Exemplo n.º 26
0
 def test_title_attr(self):
     """Tests the 'title' attribute of an acronym element."""
     self.assertEquals(sd(self.title), self.title)
Exemplo n.º 27
0
 def test_en_dash(self):
     """Tests the HTML input of an em dash."""
     self.assertEquals(sd(self.em_dash_markdown), self.em_dash_html)
Exemplo n.º 28
0
 def test_title_attr(self):
     """Tests the 'title' attribute of an acronym element."""
     self.assertEquals(sd(self.title), self.title)