From 4ff1ec137e78c1af956566841ad20dc7a32fecf4 Mon Sep 17 00:00:00 2001 From: Matt Dietz Date: Fri, 23 Sep 2011 15:36:50 -0500 Subject: [PATCH] Adds disk config Change-Id: If3e1765b659ead77f9cdaaa86ee8478a82bf67c0 --- nova/tests/xenapi/stubs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py index aee27992..3b3d494b 100644 --- a/nova/tests/xenapi/stubs.py +++ b/nova/tests/xenapi/stubs.py @@ -298,6 +298,9 @@ class FakeSessionForMigrationTests(fake.SessionBase): def VM_set_name_label(self, *args): pass + def VDI_set_name_label(self, session_ref, vdi_ref, name_label): + pass + def stub_out_migration_methods(stubs): def fake_create_snapshot(self, instance):