← Back to team overview

schooltool-developers team mailing list archive

Export XLS testing in Selenium

 

Hi,

So, this: http://bazaar.launchpad.net/~schooltool-owners/schooltool/flourish/revision/3420/#src/schooltool/export/stests/export.txt

  In the nutshell, to test the exported XLS you need:
>>> manager.query.button('Download').click()
>>> manager.wait(downloads.new)
>>> xls = downloads.read()
>>> from schooltool.testing.xls import print_sheet
>>> print_sheet(xls.sheet_by_name('XXX'))

Cheers,
Justas


Follow ups