Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas committed Sep 25, 2024
1 parent ad56e08 commit 517a4f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pelican/plugins/lm_pelican_quarto/tests/test_quarto.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def quarto_run_mock():
yield mock_run


def test_plugin_functionality(create_article, temp_path):
def test_plugin_functionality(create_article, temp_path, quarto_run_mock):
"""Test basic plugin functionality: Header extraction."""
path = Path(temp_path)
output_path = path / "output"
Expand Down Expand Up @@ -127,7 +127,7 @@ def test_plugin_functionality(create_article, temp_path):
assert quarto_script is not None, "Quarto-specific script not found in body"


def test_figure_html_path_correction(create_nested_article, temp_path):
def test_figure_html_path_correction(create_nested_article, temp_path, quarto_run_mock):
"""Test image path correction when nested dirs are present."""
path = Path(temp_path)
output_path = path / "output"
Expand Down

0 comments on commit 517a4f3

Please sign in to comment.