Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Markdown meta is random too
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 14, 2017
1 parent 74bb288 commit bf411eb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_utils.py
Expand Up @@ -434,11 +434,14 @@ def test_write_metadata_compiler():
:slug: hello-world
"""
assert write_metadata(data, 'markdown_meta') == """\
assert write_metadata(data, 'markdown_meta') in ("""\
title: Hello, world!
slug: hello-world
"""
""", """slug: hello-world
title: Hello, world!
""")


def test_write_metadata_pelican_detection():
Expand Down

0 comments on commit bf411eb

Please sign in to comment.