From b0ce5094bad62be407267c399af3369577e8c562 Mon Sep 17 00:00:00 2001 From: Yury Kulazhenkov Date: Fri, 22 Feb 2019 09:50:56 +0300 Subject: [PATCH] remove deprecated os_brick import from ScaleIO driver os_brick drops support for direct connector classes imports from os_brick.initiator.connector module. Remove such imports from ScaleIO driver tests. Change-Id: I0f809069a46f0084b6ad779b27c88246f8ceef00 --- nova/tests/unit/virt/libvirt/volume/test_scaleio.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nova/tests/unit/virt/libvirt/volume/test_scaleio.py b/nova/tests/unit/virt/libvirt/volume/test_scaleio.py index 1c3aa23cdce5..f7ee3d80ab78 100644 --- a/nova/tests/unit/virt/libvirt/volume/test_scaleio.py +++ b/nova/tests/unit/virt/libvirt/volume/test_scaleio.py @@ -15,8 +15,6 @@ import mock -from os_brick.initiator import connector - from nova.tests.unit.virt.libvirt.volume import test_volume from nova.virt.libvirt.volume import scaleio @@ -24,12 +22,6 @@ from nova.virt.libvirt.volume import scaleio class LibvirtScaleIOVolumeDriverTestCase( test_volume.LibvirtVolumeBaseTestCase): - def test_libvirt_scaleio_driver(self): - libvirt_driver = scaleio.LibvirtScaleIOVolumeDriver( - self.fake_host) - self.assertIsInstance(libvirt_driver.connector, - connector.ScaleIOConnector) - def test_libvirt_scaleio_driver_connect(self): def brick_conn_vol(data): return {'path': '/dev/vol01'}