diff options
Diffstat (limited to 'cinder/tests/unit/backup/drivers/test_backup_glusterfs.py')
-rw-r--r-- | cinder/tests/unit/backup/drivers/test_backup_glusterfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cinder/tests/unit/backup/drivers/test_backup_glusterfs.py b/cinder/tests/unit/backup/drivers/test_backup_glusterfs.py index dca01aa98..d002a4b73 100644 --- a/cinder/tests/unit/backup/drivers/test_backup_glusterfs.py +++ b/cinder/tests/unit/backup/drivers/test_backup_glusterfs.py @@ -83,7 +83,7 @@ class BackupGlusterfsShareTestCase(test.TestCase): path = driver._init_backup_repo_path() self.assertEqual(FAKE_BACKUP_PATH, path) - utils.get_root_helper.called_once() + utils.get_root_helper.assert_called_once_with() mock_remotefsclient.mount.assert_called_once_with(FAKE_BACKUP_SHARE) mock_remotefsclient.get_mount_point.assert_called_once_with( FAKE_BACKUP_SHARE) |