def test_drawing(ExcelWriter, archive):
    wb = Workbook()
    ws = wb.active
    drawing = SpreadsheetDrawing()
    writer = ExcelWriter(wb, archive)
    writer._write_drawing(drawing)
    assert (drawing.path == '/xl/drawings/drawing1.xml')
    assert (drawing.path[1:] in archive.namelist())
    assert (drawing.path in writer.manifest.filenames)
def test_drawing(ExcelWriter, archive):
    wb = Workbook()
    ws = wb.active
    drawing = SpreadsheetDrawing()
    writer = ExcelWriter(wb, archive)
    writer._write_drawing(drawing)
    assert (drawing.path == '/xl/drawings/drawing1.xml')
    assert (drawing.path[1:] in archive.namelist())
    assert (drawing.path in writer.manifest.filenames)