Changeset 11602
- Timestamp:
- 24 Apr 2014, 08:18:37 (11 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r11597 r11602 204 204 else: 205 205 self.flash(_('Matriculation number %s assigned.' % mnumber)) 206 self.context.writeLogMessage(self, '%s assigned' % mnumber) 206 207 self.redirect(self.url(self.context)) 207 208 return -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r11597 r11602 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 import os 18 19 import shutil 19 20 import tempfile … … 357 358 LinkNotFoundError, 358 359 self.browser.getLink, 'Get Matriculation Number') 359 return 360 360 # Setting matric number is logged. 361 logfile = os.path.join( 362 self.app['datacenter'].storage, 'logs', 'students.log') 363 logcontent = open(logfile).read() 364 self.assertTrue('E1000000 - waeup.aaue.students.browser.StudentGetMatricNumberPage - ' 365 'E1000000 - PTP/fac1/dep1/04/00001 assigned' in logcontent) 366 return 367
Note: See TracChangeset for help on using the changeset viewer.