Merge "VMware: ensure that fake VM deletion returns a task"

This commit is contained in:
Jenkins 2015-01-13 15:24:17 +00:00 committed by Gerrit Code Review
commit 3cc0a6ff30

View File

@ -1354,6 +1354,8 @@ class FakeVim(object):
vm_ref = args[0]
_get_vm_mdo(vm_ref)
del _db_content["VirtualMachine"][vm_ref]
task_mdo = create_task(method, "success")
return task_mdo.obj
def _search_ds(self, method, *args, **kwargs):
"""Searches the datastore for a file."""