def test_default_kvm_profile(self):
        profiles = self.run_function('virt.get_profiles', ['kvm'])
        nicp = profiles['nic']['default']
        self.assertTrue(nicp[0].get('model', '') == 'virtio')
        self.assertTrue(nicp[0].get('source', '') == 'br0')
        diskp = profiles['disk']['default']
        self.assertTrue(diskp[0]['system'].get('model', '') == 'virtio')
        self.assertTrue(diskp[0]['system'].get('format', '') == 'qcow2')
        self.assertTrue(diskp[0]['system'].get('size', '') == '8192')
Implemented by modules to return the JobHandle object.
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/virt.py/VirtTest.test_default_kvm_profile--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/tests/resources/myjob.py/SuspendNJob.job_get_handle