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
_______________________________________________
Mailing list: https://launchpad.net/~schooltool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~schooltool-developers
More help : https://help.launchpad.net/ListHelp