From c1c1c30bffbc1670040be934c527014a9bd681d9 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 25 Mar 2023 13:02:58 -0700 Subject: [PATCH] Mock get_templates_path in its new calling file --- tests/lib/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/fixtures.py b/tests/lib/fixtures.py index b9cf0ea4..ab43b1bf 100644 --- a/tests/lib/fixtures.py +++ b/tests/lib/fixtures.py @@ -186,7 +186,7 @@ def mock_default_templates_path(temp_dir): templates_path = Path(temp_dir.name, "templates") return { "get_templates_path": lambda: patch( - "jrnl.controller.get_templates_path", return_value=templates_path + "jrnl.editor.get_templates_path", return_value=templates_path ), }