@patch('database.models.files.File.insert')

This commit is contained in:
Nicholas Albion
2023-10-04 17:08:52 +11:00
parent 4cffc00d43
commit db0d01dce9

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.files.update_file')
@patch('helpers.Project.update_file')
@patch('database.models.files.File.insert')
def test_save_file(mock_file_insert, mock_update_file, test_data):
# Given