Work with current dir, exit if no pages found

This commit is contained in:
2022-02-17 16:31:58 +02:00
parent 71bb1e662a
commit 7d6519c9ad
2 changed files with 10 additions and 7 deletions

View File

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