def test_find(self, datadir, Manifest):
    datadir.chdir()
    with open('manifest.xml', 'rb') as src:
        xml = src.read()
    tree = fromstring(xml)
    manifest = Manifest.from_tree(tree)
    ws = manifest.find(WORKSHEET_TYPE)
    assert (ws.PartName == '/xl/worksheets/sheet1.xml')
def test_find(self, datadir, Manifest):
    datadir.chdir()
    with open('manifest.xml', 'rb') as src:
        xml = src.read()
    tree = fromstring(xml)
    manifest = Manifest.from_tree(tree)
    ws = manifest.find(WORKSHEET_TYPE)
    assert (ws.PartName == '/xl/worksheets/sheet1.xml')