SiteGenerator/tests/test_generate.py

8 lines
172 B
Python

from gsitegen.generate import *
from html5tagger import E
def test_something():
doc = E()
parseMarkdown(doc, "## Heading 2")
assert str(doc) == "<h2>Heading 2</h2>"