forked from github/pelican
Add DOCUTILS_SETTINGS to allow to customize the docutils Publisher.
This commit is contained in:
parent
30c2490f88
commit
5ffadd2283
2 changed files with 12 additions and 4 deletions
|
|
@ -37,8 +37,7 @@ class RstReaderTest(unittest.TestCase):
|
|||
|
||||
def test_article_with_filename_metadata(self):
|
||||
content, metadata = readers.read_file(
|
||||
_path('2012-11-29_rst_w_filename_meta#foo-bar.rst'),
|
||||
settings={})
|
||||
_path('2012-11-29_rst_w_filename_meta#foo-bar.rst'))
|
||||
expected = {
|
||||
'category': 'yeah',
|
||||
'author': 'Alexis Métaireau',
|
||||
|
|
@ -204,8 +203,7 @@ class MdReaderTest(unittest.TestCase):
|
|||
@unittest.skipUnless(readers.Markdown, "markdown isn't installed")
|
||||
def test_article_with_filename_metadata(self):
|
||||
content, metadata = readers.read_file(
|
||||
_path('2012-11-30_md_w_filename_meta#foo-bar.md'),
|
||||
settings={})
|
||||
_path('2012-11-30_md_w_filename_meta#foo-bar.md'))
|
||||
expected = {
|
||||
'category': 'yeah',
|
||||
'author': 'Alexis Métaireau',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue