def test_tables(ExcelWriter, archive):
    wb = Workbook()
    ws = wb.active
    ws.append(list(ascii_letters))
    ws._rels = []
    t = Table(displayName='Table1', ref='A1:D10')
    ws.add_table(t)
    writer = ExcelWriter(wb, archive)
    writer._write_worksheets()
    assert (t.path[1:] in archive.namelist())
    assert (t.path in writer.manifest.filenames)
def test_tables(ExcelWriter, archive):
    wb = Workbook()
    ws = wb.active
    ws.append(list(ascii_letters))
    ws._rels = []
    t = Table(displayName='Table1', ref='A1:D10')
    ws.add_table(t)
    writer = ExcelWriter(wb, archive)
    writer._write_worksheets()
    assert (t.path[1:] in archive.namelist())
    assert (t.path in writer.manifest.filenames)