Changeset 12183 for main/waeup.ikoba/trunk/src/waeup
- Timestamp:
- 9 Dec 2014, 14:45:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_browser.py
r12182 r12183 1083 1083 open(path, 'wb').write(self.browser.contents) 1084 1084 print "Sample PDF overview_slip.pdf written to %s" % path 1085 # Officers can open document slips 1085 # Officers can open document slips which shows a thumbnail of 1086 # the jpeg file attached. 1087 file_id = IFileStoreNameChooser(self.document).chooseName(attr='sample.jpg') 1088 fs = ExtFileStore(root=self.dc_root) 1089 jpegfile = open(SAMPLE_IMAGE, 'rb') 1090 fs.createFile(file_id, jpegfile) 1086 1091 self.browser.open(self.customer_path + '/documents/d101') 1087 1092 self.browser.getLink("Download document slip").click()
Note: See TracChangeset for help on using the changeset viewer.