From aa4d5ac79a8091242b664a2c1ad9fd3bc7058bba Mon Sep 17 00:00:00 2001 From: Haiwei Xu Date: Thu, 12 Feb 2015 21:08:23 +0900 Subject: [PATCH] Remove unused function in test Remove fake_transfer_file function which is not used in use. Change-Id: I300d5c4fbee21f4aefea3e016cfef614218dfa34 --- nova/tests/unit/virt/vmwareapi/fake.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nova/tests/unit/virt/vmwareapi/fake.py b/nova/tests/unit/virt/vmwareapi/fake.py index 15e0155d24..ccd14400d8 100644 --- a/nova/tests/unit/virt/vmwareapi/fake.py +++ b/nova/tests/unit/virt/vmwareapi/fake.py @@ -1407,13 +1407,6 @@ class FakeVim(object): task_mdo = create_task(method, "success") return task_mdo.obj - def fake_transfer_file(self, ds_name, file_path): - """Fakes fetch image call. - Just adds a reference to the db for the file. - """ - ds_file_path = "[" + ds_name + "] " + file_path - _add_file(ds_file_path) - def _make_dir(self, method, *args, **kwargs): """Creates a directory in the datastore.""" ds_path = kwargs.get("name")