nova/nova/tests/unit/virt/vmwareapi
Sivasathurappan Radhakrishnan e0f021f187 Using get() method to prevent KeyError
Using get() to access keys like "summary.guest.toolsStatus" and
"summary.guest.toolrunningStatus" to avoid exception during hard reboot.
This change would use a default values even if they don't exist in dict
as we can have VMs where VM tools wouldn't be installed/running which leads
to hard reboot

Change-Id: I332867fe783d6d47b81d8a53153af140d4158217
Closes-bug: #1563325
(cherry picked from commit d3c7396d87)
2016-12-01 09:19:23 +00:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake.py Fix using filter() to meet python2,3 2016-08-29 19:00:12 +07:00
ovf.xml VMware: Enable spawn from OVA image 2015-02-09 11:43:07 +02:00
stubs.py change set_stubs to use stub_out in vmwareapi/stubs.py 2016-01-19 16:26:13 +00:00
test_configdrive.py Add support for vd2 user context to other drivers 2016-08-10 12:39:30 +10:00
test_driver_api.py driver.pre_live_migration migrate_data is always an object 2016-08-22 12:12:24 -04:00
test_ds_util.py VMware: Use datastore copy when the image is already in vSphere 2016-03-25 11:12:47 +02:00
test_ds_util_datastore_selection.py Fix order of arguments in assertEqual 2015-09-09 05:23:07 -07:00
test_imagecache.py Fix incorrectly named vmwareapi test 2016-05-26 14:54:16 +01:00
test_images.py VMware: Refactor the image transfer 2016-09-08 23:56:33 +00:00
test_network_util.py Stop using stubs.Set in vmwareapi unit tests 2016-01-25 18:14:42 +00:00
test_vif.py virt: use more realistic fake network / VIF data 2016-04-19 10:04:59 +01:00
test_vim_util.py VMware: Replace get_dynamic_properties with get_object_properties_dict 2015-09-12 10:31:48 +03:00
test_vm_util.py Merge "VMware: Enable disk.EnableUUID=True in vmx" 2016-08-12 23:09:47 +00:00
test_vmops.py Using get() method to prevent KeyError 2016-12-01 09:19:23 +00:00
test_volumeops.py VMware: remove deprecation warnings from oslo_versionedobjects 2016-03-07 07:46:10 +00:00