From 1cfd567449a2210d101c9db7c910a6ce5f9d2268 Mon Sep 17 00:00:00 2001 From: sunyandi Date: Tue, 16 Jan 2018 17:03:50 +0800 Subject: [PATCH] modify volume spelling errors Change-Id: I14497ed20c6938c0c9662fc94d641ecaf65e984a --- cinder/tests/unit/volume/drivers/test_remotefs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cinder/tests/unit/volume/drivers/test_remotefs.py b/cinder/tests/unit/volume/drivers/test_remotefs.py index fff6ab5e486..6f86e9c946b 100644 --- a/cinder/tests/unit/volume/drivers/test_remotefs.py +++ b/cinder/tests/unit/volume/drivers/test_remotefs.py @@ -532,7 +532,7 @@ class RemoteFsSnapDriverTestCase(test.TestCase): mock_delete_snapshot, mock_create_snapshot, mock_validate_state, - mock_extend_volme, + mock_extend_volume, mock_copy_volume_image, mock_snapshots_exist, mock_local_path, @@ -596,8 +596,8 @@ class RemoteFsSnapDriverTestCase(test.TestCase): mock_local_path.return_value) mock_local_path.assert_has_calls( [mock.call(src_vref), mock.call(volume_ref)]) - mock_extend_volme.assert_called_once_with(volume_ref, - volume.size) + mock_extend_volume.assert_called_once_with(volume_ref, + volume.size) @mock.patch('shutil.copyfile') @mock.patch.object(remotefs.RemoteFSSnapDriver, '_set_rw_permissions')