Changeset 9395
- Timestamp:
- 23 Oct 2012, 14:22:17 (12 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r9380 r9395 89 89 if not store.getFileByContext(self.context, attr=u'fst_sit_scan.jpg'): 90 90 return _('No first sitting result uploaded.') 91 if not store.getFileByContext(self.context, attr=u'scd_sit_scan.jpg'):92 return _('No second sitting result uploaded.')91 #if not store.getFileByContext(self.context, attr=u'scd_sit_scan.jpg'): 92 # return _('No second sitting result uploaded.') 93 93 if not store.getFileByContext(self.context, attr=u'secr_cults.jpg'): 94 94 return _('No affidavit of non-menbership of secret cults uploaded.') -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r9380 r9395 167 167 self.browser.getControl("Save and request clearance").click() 168 168 169 self.assertTrue('No second sitting result uploaded'170 in self.browser.contents)171 scd_sit_scan = 'My second sitting result'172 file_id = IFileStoreNameChooser(self.student).chooseName(173 attr="scd_sit_scan.jpg")174 file_store.createFile(file_id, StringIO(scd_sit_scan))175 self.browser.open(self.edit_clearance_path)176 self.browser.getControl("Save and request clearance").click()169 #self.assertTrue('No second sitting result uploaded' 170 # in self.browser.contents) 171 #scd_sit_scan = 'My second sitting result' 172 #file_id = IFileStoreNameChooser(self.student).chooseName( 173 # attr="scd_sit_scan.jpg") 174 #file_store.createFile(file_id, StringIO(scd_sit_scan)) 175 #self.browser.open(self.edit_clearance_path) 176 #self.browser.getControl("Save and request clearance").click() 177 177 178 178 self.assertTrue('No affidavit of non-menbership of secret cults uploaded'
Note: See TracChangeset for help on using the changeset viewer.