From 5f71ea8b7c5adf491a89631830853e314ba44ac1 Mon Sep 17 00:00:00 2001 From: lukas Date: Sun, 1 Sep 2024 21:03:02 +0200 Subject: [PATCH] fixing tests --- pelican/plugins/quarto/tests/test_quarto.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pelican/plugins/quarto/tests/test_quarto.py b/pelican/plugins/quarto/tests/test_quarto.py index c821815..569de66 100644 --- a/pelican/plugins/quarto/tests/test_quarto.py +++ b/pelican/plugins/quarto/tests/test_quarto.py @@ -46,6 +46,8 @@ def test_plugin_functionality(create_article, temp_path): with open(script_dir / "test_data" / "quarto_test_output.html", "r", encoding="utf-8") as f: mock_html_content = f.read() + print(mock_html_content) + # Mock the QuartoHTML class to return a mock object with the desired HTML output with patch("quarto.quarto.QuartoHTML", autospec=True) as MockQuartoHTML: mock_instance = MockQuartoHTML.return_value