summaryrefslogtreecommitdiff
path: root/blog/test_html_rendering.py
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-10-13 16:11:25 +0200
committeralex <alex@pdp7.net>2023-10-13 16:11:25 +0200
commit250201b433c0a99f6cabcb2596bfe43f1a5a3968 (patch)
tree8dc5de16ed4315b3ab4fcc001b7dbd74d475c4b3 /blog/test_html_rendering.py
parent1a80ac63854ba4ea28f81194ad15314771e979d5 (diff)
Moving to prod!
Diffstat (limited to 'blog/test_html_rendering.py')
-rw-r--r--blog/test_html_rendering.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/blog/test_html_rendering.py b/blog/test_html_rendering.py
new file mode 100644
index 00000000..71bdd399
--- /dev/null
+++ b/blog/test_html_rendering.py
@@ -0,0 +1,10 @@
+import pathlib
+
+import pytest
+
+from blog import blog_pages
+
+
+@pytest.mark.parametrize("entry", list(pathlib.Path("content").glob("*/*/*.gmi")))
+def test_html_rendering(entry):
+ blog_pages.Entry(entry).html()