def test_default_esxi_profile(self):
        profiles = self.run_function('virt.get_profiles', ['esxi'])
        nicp = profiles['nic']['default']
        self.assertTrue(nicp[0].get('model', '') == 'e1000')
        self.assertTrue(nicp[0].get('source', '') == 'DEFAULT')
        diskp = profiles['disk']['default']
        self.assertTrue(diskp[0]['system'].get('model', '') == 'scsi')
        self.assertTrue(diskp[0]['system'].get('format', '') == 'vmdk')
        self.assertTrue(diskp[0]['system'].get('size', '') == '8192')
Test virt.get_profiles with the ESX profile
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/virt.py/VirtTest.test_default_esxi_profile