From 4cffc00d43ca7358fd797fc0ea1c1bba1b1a78b6 Mon Sep 17 00:00:00 2001 From: Nicholas Albion Date: Wed, 4 Oct 2023 17:03:22 +1100 Subject: [PATCH] fix for Python 3.9 & 3.10: `@patch('helpers.files.update_file')` --- pilot/helpers/test_Project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilot/helpers/test_Project.py b/pilot/helpers/test_Project.py index f3b5ec8..0cc84ca 100644 --- a/pilot/helpers/test_Project.py +++ b/pilot/helpers/test_Project.py @@ -35,7 +35,7 @@ project.app = 'test' 'None name', 'empty name', # 'None path absolute file', 'home path', 'home path same name', 'absolute path with name' ]) -@patch('helpers.Project.update_file') +@patch('helpers.files.update_file') @patch('database.models.files.File.insert') def test_save_file(mock_file_insert, mock_update_file, test_data): # Given