Skip to content

Commit 6bbcd3f

Browse files
committed
test case update
1 parent 150a9cf commit 6bbcd3f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/test_ods_reader.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ def setUp(self):
99
"fixtures",
1010
"ods_formats.ods"))
1111
self.data = r.sheets()
12+
for key in self.data.keys():
13+
self.data[key] = list(self.data[key])
1214

1315

1416
class TestODSWriter(ODSCellTypes):
@@ -23,6 +25,8 @@ def setUp(self):
2325
w.close()
2426
r2 = ods3.ODSBook(self.testfile)
2527
self.data = r2.sheets()
28+
for key in self.data.keys():
29+
self.data[key] = list(self.data[key])
2630

2731
def tearDown(self):
2832
if os.path.exists(self.testfile):

tests/test_writer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ def test_write_book(self):
1616
writer.close()
1717
reader = ods3.ODSBook(self.testfile)
1818
content = reader.sheets()
19+
for key in content.keys():
20+
content[key] = list(content[key])
1921
assert content == self.content
2022

2123
def tearDown(self):

0 commit comments

Comments
 (0)