SiteGenerator/tests/test_generate.py

8 lines
172 B
Python
Raw Normal View History

2022-01-25 14:36:18 +00:00
from gsitegen.generate import *
from html5tagger import E
def test_something():
doc = E()
parseMarkdown(doc, "## Heading 2")
assert str(doc) == "<h2>Heading 2</h2>"