def fake_get_vmdk_size_and_properties(context, image_id, instance):
 props = {'vmware_ostype': 'otherGuest', 'vmware_adaptertype': 'lsiLogic'}
 return (_FAKE_FILE_SIZE, props)

def fake_get_vmdk_size_and_properties ( context , image_id , instance ) : props = { 'vmware_ostype' : 'otherGuest' , 'vmware_adaptertype' : 'lsiLogic' } return ( _FAKE_FILE_SIZE , props )
fakes the file size and properties fetch for the image file .