Changeset 8856 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 30 Jun 2012, 06:33:38 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r8854 r8856 2004 2004 self._redirect(email=email_sent, password=password, 2005 2005 student_id=student.student_id) 2006 ob_class = self.__implemented__.__name__.replace('waeup.kofa.','') 2007 self.context.logger.info( 2008 '%s - %s (%s) - %s' % (ob_class, number, student.student_id, email_sent)) 2006 2009 return 2007 2010 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8854 r8856 1942 1942 email=('new@yy.zz', 'new@yy.zz'))) 1943 1943 self.assertEqual(self.student,results[0]) 1944 logfile = os.path.join( 1945 self.app['datacenter'].storage, 'logs', 'main.log') 1946 logcontent = open(logfile).read() 1947 self.assertTrue('zope.anybody - students.browser.StudentRequestPasswordPage - ' 1948 '234 (K1000000) - new@yy.zz' in logcontent) 1944 1949 return
Note: See TracChangeset for help on using the changeset viewer.