Skip to content

Commit e94b6c4

Browse files
committed
change according to pyexcel v0.1.3's update interface
1 parent 5636aae commit e94b6c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_database_io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_single_sheet_file(self):
2020
db.create_all()
2121
print("Uploading %s" % upload_file_type)
2222
file_name = "test.%s" % upload_file_type
23-
io = pe.save_as(array=array, file_type=upload_file_type)
23+
io = pe.save_as(array=array, dest_file_type=upload_file_type)
2424
response = self.app.post('/upload/categories',
2525
buffered=True,
2626
data={"file": (io, file_name)},
@@ -53,7 +53,7 @@ def test_book_file(self):
5353
db.create_all()
5454
print("Uploading %s" % upload_file_type)
5555
file_name = "test.%s" % upload_file_type
56-
io = pe.save_book_as(bookdict=data, file_type=upload_file_type)
56+
io = pe.save_book_as(bookdict=data, dest_file_type=upload_file_type)
5757
response = self.app.post('/upload/all',
5858
buffered=True,
5959
data={"file": (io, file_name)},

0 commit comments

Comments
 (0)