Mock get_templates_path in its new calling file

This commit is contained in:
Micah Jerome Ellison 2023-03-25 13:02:58 -07:00
parent 61da4a0b1b
commit c1c1c30bff

View file

@ -186,7 +186,7 @@ def mock_default_templates_path(temp_dir):
templates_path = Path(temp_dir.name, "templates") templates_path = Path(temp_dir.name, "templates")
return { return {
"get_templates_path": lambda: patch( "get_templates_path": lambda: patch(
"jrnl.controller.get_templates_path", return_value=templates_path "jrnl.editor.get_templates_path", return_value=templates_path
), ),
} }