Ignore:
Timestamp:
21 Jun 2016, 06:07:30 (8 years ago)
Author:
Henrik Bettermann
Message:

Log purging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/mandates/tests.py

    r13959 r13962  
    159159        self.assertEqual(len(self.app['mandates'].keys()), 1)
    160160        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)
    161165
    162166    def test_purge_mandates(self):
Note: See TracChangeset for help on using the changeset viewer.