From 30a94d6233544a9db70ad2cf17528fc124584e0d Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Tue, 28 Mar 2023 09:05:21 -0700 Subject: [PATCH] poe format --- tests/unit/test_editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_editor.py b/tests/unit/test_editor.py index 7b90845d..2911c7d2 100644 --- a/tests/unit/test_editor.py +++ b/tests/unit/test_editor.py @@ -25,7 +25,7 @@ def test_read_template_file_with_valid_file_returns_text(mock_file): def test_get_template_path_when_exists_returns_correct_path(): - with patch("os.path.exists", return_value = True): + with patch("os.path.exists", return_value=True): output = get_template_path("template", "templatepath") assert output == os.path.join("templatepath", "template") @@ -33,7 +33,7 @@ def test_get_template_path_when_exists_returns_correct_path(): @patch("jrnl.editor.absolute_path") def test_get_template_path_when_doesnt_exist_returns_correct_path(mock_absolute_paths): - with patch("os.path.exists", return_value = False): + with patch("os.path.exists", return_value=False): output = get_template_path("template", "templatepath") assert output == mock_absolute_paths.return_value