Skip to content
Permalink
Browse files
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 bf411ebf6a95a210dfbe0e015ba17e3d6b14509c
Showing with 5 additions and 2 deletions.
  1. +5 −2 tests/test_utils.py
@@ -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():

0 comments on commit bf411eb

Please sign in to comment.