def test_writer(self):
    native_sheet = NamedContent('test', [])
    content = [[1, 2], [3, 4], [5, 6]]
    writer = ArrayWriter(None, native_sheet, 'test')
    writer.write_row(content[0])
    writer.write_array(content[1:])
    assert (native_sheet.payload == content)
def test_writer(self):
    native_sheet = NamedContent('test', [])
    content = [[1, 2], [3, 4], [5, 6]]
    writer = ArrayWriter(None, native_sheet, 'test')
    writer.write_row(content[0])
    writer.write_array(content[1:])
    assert (native_sheet.payload == content)