From e28d7870fa8633fddd5fe92d2fbcc34ae392bd85 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Thu, 6 Dec 2012 14:04:51 +1100 Subject: Simplify how ephemeral disks are created and named. Resolves bug 1087028. Change-Id: Ife7ec43cf76cf04a98f1db2135f9149a2eefb55d --- nova/tests/test_libvirt.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nova/tests') 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) -- cgit