예제 #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)