Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas committed Sep 1, 2024
1 parent 94c1d45 commit 5f71ea8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pelican/plugins/quarto/tests/test_quarto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f71ea8

Please sign in to comment.