VMware: cleanup unit tests
VMware: cleanup unit tests

Fixes indentations and makes the code more pythonic.

TrivialFix

Change-Id: I8499d12ff29c09ba39cdd46a5f24b947516c8036

BeyondTheClouds/nova,hanlind/nova,cloudbase/nova,jianghuaw/nova,Juniper/nova,openstack/nova,sebrandon1/nova,bigswitch/nova,openstack/nova,mikalstill/nova,cernops/nova,mikalstill/nova,mahak/nova,BeyondTheClouds/nova,mikalstill/nova,alaski/nova,cloudbase/nova,cernops/nova,cloudbase/nova,Juniper/nova,sebrandon1/nova,gooddata/openstack-nova,jianghuaw/nova,rajalokan/nova,CEG-FYP-OpenStack/scheduler,gooddata/openstack-nova,hanlind/nova,vmturbo/nova,cyx1231st/nova,dims/nova,klmitch/nova,jianghuaw/nova,mahak/nova,zhimin711/nova,klmitch/nova,sebrandon1/nova,zhimin711/nova,vmturbo/nova,jianghuaw/nova,rahulunair/nova,phenoxim/nova,rajalokan/nova,hanlind/nova,dims/nova,rahulunair/nova,rajalokan/nova,gooddata/openstack-nova,vmturbo/nova,bigswitch/nova,Juniper/nova,Juniper/nova,klmitch/nova,gooddata/openstack-nova,phenoxim/nova,NeCTAR-RC/nova,NeCTAR-RC/nova,BeyondTheClouds/nova,CEG-FYP-OpenStack/scheduler,alaski/nova,klmitch/nova,mahak/nova,rahulunair/nova,openstack/nova,cyx1231st/nova,rajalokan/nova,cernops/nova,vmturbo/nova