Changeset 13962 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 21 Jun 2016, 06:07:30 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/configurationmanagepage.pt
r13960 r13962 22 22 <span i18n:translate="">active</span>, 23 23 <span tal:content="python:count[1]"></span> 24 <span i18n:translate="">expired</span> ,24 <span i18n:translate="">expired</span> 25 25 </td> 26 26 </tr> -
main/waeup.kofa/trunk/src/waeup/kofa/mandates/container.py
r13961 r13962 57 57 del self[mandate] 58 58 num_deleted += 1 59 grok.getSite().logger.info('%s mandates purged' % num_deleted) 59 60 return num_deleted 60 61 -
main/waeup.kofa/trunk/src/waeup/kofa/mandates/tests.py
r13959 r13962 159 159 self.assertEqual(len(self.app['mandates'].keys()), 1) 160 160 self.assertEqual([i for i in self.app['mandates'].keys()], [u'23456']) 161 logfile = os.path.join( 162 self.app['datacenter'].storage, 'logs', 'main.log') 163 logcontent = open(logfile).read() 164 self.assertTrue('system - 1 mandates purged' in logcontent) 161 165 162 166 def test_purge_mandates(self):
Note: See TracChangeset for help on using the changeset viewer.