From 8c4635ce7ab68561aab598078a0a5bbf27ff96f9 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Fri, 29 Mar 2024 18:09:24 +0100 Subject: [PATCH] tests: update test_render_command_with_use_local_latex_option --- tests/test_cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 0722f83..5e4720b 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -187,7 +187,10 @@ def test_render_command_with_use_local_latex_option(tmp_path, input_file_path): # copy input file to the temporary directory to create the output directory there: input_file_path = shutil.copy(input_file_path, tmp_path) - runner.invoke(cli.app, ["render", str(input_file_path), "--use-local-latex"]) + runner.invoke( + cli.app, + ["render", str(input_file_path), "--use-local-latex-command", "pdflatex"], + ) def test_new_command(tmp_path):