def test_volume_deletion_error(self):
        pool = mock.MagicMock()
        logger = mock.Mock()
        volumes = {'foo': mock.Mock(), 'bar': mock.Mock(), 'baz': mock.Mock()}
        pool.XMLDesc.return_value = """<pool><path>/foo/bar</path></pool>"""
        pool.listVolumes.return_value = ('foo', 'bar', 'baz')
        pool.storageVolLookupByName.side_effect = lambda n: volumes[n]
        volumes['foo'].delete.side_effect = libvirt.libvirtError('BOOM')
        qemu.pool_delete(pool, logger)
        volumes['foo'].delete.assert_called_with(0)
        volumes['bar'].delete.assert_called_with(0)
        volumes['baz'].delete.assert_called_with(0)
        self.assertTrue(pool.destroy.called)
Generates an app with a form that has a converted json xmlns but an unconverted source
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/qemu_test.py/PoolDeleteTest.test_volume_deletion_error--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/cleanup/tests/test_fix_forms_with_missing_xmlns.py/TestFixFormsWithMissingXmlns.build_app_with_bad_source_and_good_json