fix for Python 3.9 & 3.10: @patch('helpers.files.update_file')

This commit is contained in:
Nicholas Albion
2023-10-04 17:03:22 +11:00
parent 4f288f60d3
commit 4cffc00d43

View File

@@ -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