mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge branch 'master' into html_list_tags
This commit is contained in:
commit
d974ba898c
59 changed files with 1098 additions and 786 deletions
|
|
@ -410,6 +410,12 @@ class RstReaderTest(ReaderTest):
|
|||
self.assertEqual(tuple_date.metadata['date'],
|
||||
string_date.metadata['date'])
|
||||
|
||||
def test_parse_error(self):
|
||||
# Verify that it raises an Exception, not nothing and not SystemExit or
|
||||
# some such
|
||||
with six.assertRaisesRegex(self, Exception, "underline too short"):
|
||||
self.read_file(path='../parse_error/parse_error.rst')
|
||||
|
||||
|
||||
@unittest.skipUnless(readers.Markdown, "markdown isn't installed")
|
||||
class MdReaderTest(ReaderTest):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue