update test cases

This commit is contained in:
chfw 2014-12-05 23:47:31 +00:00
parent 801a1aaa20
commit c352b32531
4 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
import pyexcel as pe
import pyexcel.ext.xl
import pyexcel.ext.xls
import datetime
import os

View File

@ -1,7 +1,7 @@
from base import PyexcelMultipleSheetBase
import pyexcel
import os
from pyexcel.ext import xl
from pyexcel.ext import xls
class TestXlsNxlsMultipleSheets(PyexcelMultipleSheetBase):

View File

@ -1,7 +1,7 @@
import os
import sys
import pyexcel
from pyexcel.ext import xl
from pyexcel.ext import xls
if sys.version_info[0] < 3:
from StringIO import StringIO
else:

View File

@ -1,5 +1,5 @@
import os
from pyexcel.ext import xl
from pyexcel.ext import xls
from base import PyexcelWriterBase, PyexcelHatWriterBase
@ -11,10 +11,10 @@ class TestNativeXLWriter:
"Sheet3": [[u'X', u'Y', u'Z'], [1, 4, 7], [2, 5, 8], [3, 6, 9]]
}
self.testfile = "xlwriter.xls"
writer = xl.XLWriter(self.testfile)
writer = xls.XLWriter(self.testfile)
writer.write(self.content)
writer.close()
reader = xl.XLBook(self.testfile)
reader = xls.XLBook(self.testfile)
content = reader.sheets()
assert content == self.content