Changeset 9770 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 5 Dec 2012, 08:33:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9760 r9770 832 832 self.assertMatches('...Payment approved...', 833 833 self.browser.contents) 834 # Approval is logged 834 # Approval is logged in students.log ... 835 835 logfile = os.path.join( 836 836 self.app['datacenter'].storage, 'logs', 'students.log') … … 839 839 'zope.mgr - students.browser.OnlinePaymentApprovePage ' 840 840 '- K1000000 - schoolfee payment approved' 841 in logcontent) 842 # ... and in payments.log 843 logfile = os.path.join( 844 self.app['datacenter'].storage, 'logs', 'payments.log') 845 logcontent = open(logfile).read() 846 self.assertTrue( 847 '"zope.mgr",K1000000,%s,schoolfee,40000.0,AP,,,,,,,,,,,,\n' % value 841 848 in logcontent) 842 849
Note: See TracChangeset for help on using the changeset viewer.