def test_ctor(self, Manifest):
    manifest = Manifest()
    xml = tostring(manifest.to_tree())
    expected = '\n        <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n          <Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels" />\n          <Default ContentType="application/xml" Extension="xml" />\n          <Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"\n            PartName="/xl/styles.xml"/>\n          <Override ContentType="application/vnd.openxmlformats-officedocument.theme+xml"\n            PartName="/xl/theme/theme1.xml"/>\n          <Override ContentType="application/vnd.openxmlformats-package.core-properties+xml"\n            PartName="/docProps/core.xml"/>\n          <Override ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"\n            PartName="/docProps/app.xml"/>\n        </Types>\n        '
    diff = compare_xml(xml, expected)
    assert (diff is None), diff
def test_ctor(self, Manifest):
    manifest = Manifest()
    xml = tostring(manifest.to_tree())
    expected = '\n        <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n          <Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels" />\n          <Default ContentType="application/xml" Extension="xml" />\n          <Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"\n            PartName="/xl/styles.xml"/>\n          <Override ContentType="application/vnd.openxmlformats-officedocument.theme+xml"\n            PartName="/xl/theme/theme1.xml"/>\n          <Override ContentType="application/vnd.openxmlformats-package.core-properties+xml"\n            PartName="/docProps/core.xml"/>\n          <Override ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"\n            PartName="/docProps/app.xml"/>\n        </Types>\n        '
    diff = compare_xml(xml, expected)
    assert (diff is None), diff