mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix RstReader authors metadata processing
The reader would return a list of authors already, but METADATA_PROCESSORS['authors'] expects a string. Added a test case for this (only the HTMLReader had it).
This commit is contained in:
parent
33e9ce1ddf
commit
b8db970455
3 changed files with 11 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ class TestArticlesGenerator(unittest.TestCase):
|
|||
['This is an article with category !', 'published', 'yeah',
|
||||
'article'],
|
||||
['This is an article with multiple authors!', 'published', 'Default', 'article'],
|
||||
['This is an article with multiple authors!', 'published', 'Default', 'article'],
|
||||
['This is an article without category !', 'published', 'Default',
|
||||
'article'],
|
||||
['This is an article without category !', 'published',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue