Пример #1
0
 def test_markdown1(self):
     """Tests the '##' Markdown input of a h2 element."""
     self.assertEquals(sd(self.markdown1), self.output)
Пример #2
0
 def test_hellip(self):
     """Tests the HTML input of an horizontal ellipsis."""
     self.assertEquals(sd(self.hellip_markdown), self.hellip_html)
Пример #3
0
 def test_markdown1(self):
     """Tests the '##' Markdown input of a h2 element."""
     self.assertEquals(sd(self.markdown1), self.output)
Пример #4
0
 def test_html(self):
     """Tests the HTML input of an superscript element."""
     self.assertEquals(sd(self.output), self.output)
Пример #5
0
 def test_markdown(self):
     """Tests the Markdown input of a table element."""
     self.assertEquals(sd(self.markdown), self.output)
Пример #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)
Пример #7
0
 def test_markdown2(self):
     """Tests the '~~~' Markdown input of a pre element."""
     self.assertEquals(sd(self.markdown2), self.output)
Пример #8
0
 def test_markdown(self):
     """Tests the Markdown input of an strong element."""
     self.assertEquals(sd(self.output), self.output)
Пример #9
0
 def test_html(self):
     """Tests the HTML input of an superscript element."""
     self.assertEquals(sd(self.output), self.output)
Пример #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)
Пример #11
0
 def test_markdown2(self):
     """Tests the '~~~' Markdown input of a pre element."""
     self.assertEquals(sd(self.markdown2), self.output)
Пример #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)
Пример #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)
Пример #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)
Пример #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)
Пример #16
0
 def test_html(self):
     """Tests the HTML input of a table element."""
     self.assertEquals(sd(self.output), self.output)
Пример #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)
Пример #18
0
 def test_markdown(self):
     """Tests the Markdown input of a table element."""
     self.assertEquals(sd(self.markdown), self.output)
Пример #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)
Пример #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)
Пример #21
0
 def test_markdown(self):
     """Tests the Markdown input of an strong element."""
     self.assertEquals(sd(self.output), self.output)
Пример #22
0
 def test_hellip(self):
     """Tests the HTML input of an horizontal ellipsis."""
     self.assertEquals(sd(self.hellip_markdown), self.hellip_html)
Пример #23
0
 def test_html(self):
     """Tests the HTML input of a table element."""
     self.assertEquals(sd(self.output), self.output)
Пример #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)
Пример #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)
Пример #26
0
 def test_title_attr(self):
     """Tests the 'title' attribute of an acronym element."""
     self.assertEquals(sd(self.title), self.title)
Пример #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)
Пример #28
0
 def test_title_attr(self):
     """Tests the 'title' attribute of an acronym element."""
     self.assertEquals(sd(self.title), self.title)