def test_delete_destroy(self):
        pool = mock.MagicMock()
        logger = mock.Mock()
        pool.XMLDesc.return_value = """<pool><path>/foo/bar</path></pool>"""
        qemu.pool_delete(pool, logger)
        self.assertTrue(pool.destroy.called)
Pool is destroyed.
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/qemu_test.py/PoolDeleteTest.test_delete_destroy