def METHOD_NAME(self):
    context = {'model': model, 'session': model.Session, 'user': 'testsysadmin'}
    resource_dict = self._resource_create_with_upload(context, self.file1_name, 'Test resource1.csv',
                                                       self.dataset1_name)
    resource_id = resource_dict['id']
    resource_dict2 = self._resource_update_with_upload(context, self.file2_name, 'Test resource1.csv', resource_id)
    assert not self.__file_exists(resource_id, self.file1_name)
    assert self.__file_exists(resource_id, self.file2_name)
    _get_action('resource_delete')(context, {'id': resource_id})
    assert not self.__file_exists(resource_id, self.file2_name)