From 250201b433c0a99f6cabcb2596bfe43f1a5a3968 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 13 Oct 2023 16:11:25 +0200 Subject: Moving to prod! --- blog/test_html_rendering.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 blog/test_html_rendering.py (limited to 'blog/test_html_rendering.py') 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() -- cgit v1.2.3