diff options
Diffstat (limited to 'cinder/tests/unit/backup/test_backup.py')
-rw-r--r-- | cinder/tests/unit/backup/test_backup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cinder/tests/unit/backup/test_backup.py b/cinder/tests/unit/backup/test_backup.py index 4e0c7b91d..a85cd905d 100644 --- a/cinder/tests/unit/backup/test_backup.py +++ b/cinder/tests/unit/backup/test_backup.py @@ -916,8 +916,8 @@ class BackupTestCase(BaseBackupTest): mock_open.assert_not_called() backup_service.backup.assert_called_once_with( backup, device_path) - mock_finish.called_once_with(self.ctxt, backup, volume, - mock.sentinel.backup_update) + mock_finish.assert_called_once_with(self.ctxt, backup, volume, + mock.sentinel.backup_update) @mock.patch('cinder.backup.manager.BackupManager._start_backup') @ddt.data((fields.SnapshotStatus.BACKING_UP, 'available'), |