mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Mock get_templates_path in its new calling file
This commit is contained in:
parent
61da4a0b1b
commit
c1c1c30bff
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue