summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/tests/api/openstack/fakes.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/fakes.py b/nova/tests/api/openstack/fakes.py
index 9e7b99bea..386d27618 100644
--- a/nova/tests/api/openstack/fakes.py
+++ b/nova/tests/api/openstack/fakes.py
@@ -504,7 +504,14 @@ def stub_instance(id, user_id=None, project_id=None, host=None,
"disable_terminate": False,
"security_groups": security_groups,
"root_device_name": root_device_name,
- "system_metadata": utils.dict_to_metadata(sys_meta)}
+ "system_metadata": utils.dict_to_metadata(sys_meta),
+ "vm_mode": "",
+ "default_swap_device": "",
+ "default_ephemeral_device": "",
+ "launched_on": "",
+ "cell_name": "",
+ "architecture": "",
+ "os_type": ""}
instance.update(info_cache)