def test_chartsheet(ExcelWriter, archive):
    wb = Workbook()
    cs = wb.create_chartsheet()
    writer = ExcelWriter(wb, archive)
    writer._write_chartsheets()
    assert (cs.path in writer.manifest.filenames)
    assert (cs.path[1:] in writer._archive.namelist())
def test_chartsheet(ExcelWriter, archive):
    wb = Workbook()
    cs = wb.create_chartsheet()
    writer = ExcelWriter(wb, archive)
    writer._write_chartsheets()
    assert (cs.path in writer.manifest.filenames)
    assert (cs.path[1:] in writer._archive.namelist())