summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_libvirt.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py
index 5df7d920d..872c0498d 100644
--- a/nova/tests/test_libvirt.py
+++ b/nova/tests/test_libvirt.py
@@ -2295,6 +2295,9 @@ class LibvirtConnTestCase(test.TestCase):
self.stubs.Set(imagebackend.Image,
'cache',
fake_none)
+ self.stubs.Set(libvirt_driver.LibvirtDriver,
+ '_create_ephemeral',
+ fake_none)
conn.spawn(self.context, instance, None, [], 'herp',
network_info=network_info)