From 5582b0a55d34727e83329318f441c9f77618cac4 Mon Sep 17 00:00:00 2001 From: Kenji Yasui Date: Fri, 10 Jul 2015 05:02:23 +0000 Subject: [PATCH] Cleanup unused method fake_get_target This method has not been used since the change I43190d1dac33748fe55fa00f260f32ab209be656 which removes the callers of fake_get_target() Closes-Bug: #1473338 Change-Id: Ib94d9d3a5d3fd99885ab18cd2efc0730720e8c3f --- cinder/tests/unit/test_volume.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cinder/tests/unit/test_volume.py b/cinder/tests/unit/test_volume.py index 24520ab26..f890af30e 100644 --- a/cinder/tests/unit/test_volume.py +++ b/cinder/tests/unit/test_volume.py @@ -142,9 +142,6 @@ class BaseVolumeTestCase(test.TestCase): except OSError: pass - def fake_get_target(obj, iqn): - return 1 - def fake_get_all_volume_groups(obj, vg_name=None, no_suffix=True): return [{'name': 'cinder-volumes', 'size': '5.00', @@ -5473,9 +5470,6 @@ class DriverTestCase(test.TestCase): except OSError: pass - def fake_get_target(obj, iqn): - return 1 - def _attach_volume(self): """Attach volumes to an instance.""" return [] -- 2.45.2