Esempio n. 1
0
 def test_double_pygment_in_html_html(self):
     # FIXME: the output is still markup. we need a second pass
     test_file = self.get_test_loc(u'markup/double_pygment_in_html.html')
     expected = self.get_test_loc(
         u'markup_expected/double_pygment_in_html.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 2
0
 def test_double_pygment_in_html_html(self):
     # FIXME: the output is still markup. we need a second pass
     test_file = self.get_test_loc(u'markup/double_pygment_in_html.html')
     expected = self.get_test_loc(u'markup_expected/double_pygment_in_html.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 3
0
 def test_contenttype_html(self):
     test_file = self.get_test_loc(u'markup/contenttype.html')
     expected = self.get_test_loc(u'markup_expected/contenttype.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 4
0
 def test_allclasses_frame_html(self):
     test_file = self.get_test_loc(u'markup/allclasses-frame.html')
     expected = self.get_test_loc(u'markup_expected/allclasses-frame.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 5
0
 def test_a_htm(self):
     test_file = self.get_test_loc(u'markup/a.htm')
     expected = self.get_test_loc(u'markup_expected/a.htm')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 6
0
 def test_rst_highlighted_html(self):
     test_file = self.get_test_loc(u'markup/rst_highlighted.html')
     expected = self.get_test_loc(u'markup_expected/rst_highlighted.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 7
0
 def test_json_phps_html(self):
     test_file = self.get_test_loc(u'markup/JSON.phps.html')
     expected = self.get_test_loc(u'markup_expected/JSON.phps.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 8
0
 def test_contenttype_html(self):
     test_file = self.get_test_loc(u'markup/contenttype.html')
     expected = self.get_test_loc(u'markup_expected/contenttype.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 9
0
 def test_allclasses_frame_html(self):
     test_file = self.get_test_loc(u'markup/allclasses-frame.html')
     expected = self.get_test_loc(u'markup_expected/allclasses-frame.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 10
0
 def test_a_htm(self):
     test_file = self.get_test_loc(u'markup/a.htm')
     expected = self.get_test_loc(u'markup_expected/a.htm')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 11
0
 def test_rst_highlighted_html(self):
     test_file = self.get_test_loc(u'markup/rst_highlighted.html')
     expected = self.get_test_loc(u'markup_expected/rst_highlighted.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)
Esempio n. 12
0
 def test_json_phps_html(self):
     test_file = self.get_test_loc(u'markup/JSON.phps.html')
     expected = self.get_test_loc(u'markup_expected/JSON.phps.html')
     result = markup.convert_to_text(test_file)
     file_cmp(expected, result, ignore_line_endings=True)