summaryrefslogtreecommitdiff
path: root/nova/tests/functional/libvirt/test_evacuate.py
diff options
context:
space:
mode:
authorLee Yarwood <lyarwood@redhat.com>2020-08-19 11:51:59 +0100
committerLee Yarwood <lyarwood@redhat.com>2020-08-26 13:12:05 +0100
commit9285428a16560d72cea1e44cdee73ff4d5ce5430 (patch)
tree92382bfadc1d00d7cc2111cae503b3162f70728c /nova/tests/functional/libvirt/test_evacuate.py
parentd09fade87e9abcfebc08bc6dbbbcf1eae673e349 (diff)
downloadnova-9285428a16560d72cea1e44cdee73ff4d5ce5430.tar.gz
rbd: Move rbd_utils out of libvirt driver under nova.storage
This module will be used within nova.image.glance as part of the nova-image-download-via-rbd blueprint. As this can technically be used by multiple virt drivers it's time to break rbd_utils out from the libvirt driver into a more generic place in the codebase. Change-Id: I25baf5edd25d9e551686b7ed317a63fd778be533
Diffstat (limited to 'nova/tests/functional/libvirt/test_evacuate.py')
-rw-r--r--nova/tests/functional/libvirt/test_evacuate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/functional/libvirt/test_evacuate.py b/nova/tests/functional/libvirt/test_evacuate.py
index 96fc8af3fb..b068209088 100644
--- a/nova/tests/functional/libvirt/test_evacuate.py
+++ b/nova/tests/functional/libvirt/test_evacuate.py
@@ -220,7 +220,7 @@ class _RbdTest(object):
# We never want to actually touch rbd
self.mock_rbd_driver = self.useFixture(fixtures.MockPatch(
- 'nova.virt.libvirt.storage.rbd_utils.RBDDriver')).mock.return_value
+ 'nova.storage.rbd_utils.RBDDriver')).mock.return_value
self.mock_rbd_driver.get_mon_addrs.return_value = ([], [])
self.mock_rbd_driver.size.return_value = 10 * units.Gi
self.mock_rbd_driver.rbd_user = 'rbd'