@mock.patch('see.context.resources.qemu.libvirt')
    @mock.patch('see.context.resources.qemu.domain_create')
    def test_initialize_default(self, create_mock, libvirt_mock):
        resources = qemu.QEMUResources('foo', {'domain': 'bar', 'disk': {'image': '/foo/bar'}})
        libvirt_mock.open.assert_called_with('qemu:///system')
        create_mock.assert_called_with(resources.hypervisor, 'foo', 'bar', '/foo/bar', network_name=None)
Destroy node by passing in the node object
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/qemu_test.py/ResourcesTest.test_initialize_default--crossover with--dataset/ETHPy150Open infincia/AEServmon/libcloud/drivers/ec2.py/EC2NodeDriver.destroy_node