def test_from_xml(self, Override):
    src = '\n        <Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"\n          PartName="/xl/workbook.xml"/>\n        '
    node = fromstring(src)
    override = Override.from_tree(node)
    assert (override == Override(ContentType='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml', PartName='/xl/workbook.xml'))
def test_from_xml(self, Override):
    src = '\n        <Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"\n          PartName="/xl/workbook.xml"/>\n        '
    node = fromstring(src)
    override = Override.from_tree(node)
    assert (override == Override(ContentType='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml', PartName='/xl/workbook.xml'))