Merge "remove deprecated os_brick import from ScaleIO driver"
This commit is contained in:
commit
9c024e45bb
@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
import mock
|
import mock
|
||||||
|
|
||||||
from os_brick.initiator import connector
|
|
||||||
|
|
||||||
from nova.tests.unit.virt.libvirt.volume import test_volume
|
from nova.tests.unit.virt.libvirt.volume import test_volume
|
||||||
from nova.virt.libvirt.volume import scaleio
|
from nova.virt.libvirt.volume import scaleio
|
||||||
|
|
||||||
@ -24,12 +22,6 @@ from nova.virt.libvirt.volume import scaleio
|
|||||||
class LibvirtScaleIOVolumeDriverTestCase(
|
class LibvirtScaleIOVolumeDriverTestCase(
|
||||||
test_volume.LibvirtVolumeBaseTestCase):
|
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 test_libvirt_scaleio_driver_connect(self):
|
||||||
def brick_conn_vol(data):
|
def brick_conn_vol(data):
|
||||||
return {'path': '/dev/vol01'}
|
return {'path': '/dev/vol01'}
|
||||||
|
Loading…
Reference in New Issue
Block a user