def test_ctor(self, FileExtension):
    ext = FileExtension(ContentType='application/xml', Extension='xml')
    xml = tostring(ext.to_tree())
    expected = '\n        <Default ContentType="application/xml" Extension="xml"/>\n        '
    diff = compare_xml(xml, expected)
    assert (diff is None), diff
def test_ctor(self, FileExtension):
    ext = FileExtension(ContentType='application/xml', Extension='xml')
    xml = tostring(ext.to_tree())
    expected = '\n        <Default ContentType="application/xml" Extension="xml"/>\n        '
    diff = compare_xml(xml, expected)
    assert (diff is None), diff