def test_from_xml(self, FileExtension):
    src = '\n        <Default ContentType="application/xml" Extension="xml"/>\n        '
    node = fromstring(src)
    ext = FileExtension.from_tree(node)
    assert (ext == FileExtension(ContentType='application/xml', Extension='xml'))
def test_from_xml(self, FileExtension):
    src = '\n        <Default ContentType="application/xml" Extension="xml"/>\n        '
    node = fromstring(src)
    ext = FileExtension.from_tree(node)
    assert (ext == FileExtension(ContentType='application/xml', Extension='xml'))