def testOldnews(self):
    self.assertRegexp('old', 'No old news')
    self.assertNotError('add 0 a: b')
    self.assertRegexp('old', 'No old news')
    self.assertNotError('add 5 foo: bar')
    self.assertRegexp('old', 'No old news')
    print()
    print('Sleeping to expire the news item (testOldnews)')
    time.sleep(6)
    print('Done sleeping.')
    self.assertNotError('old')
def testOldnews(self):
    self.assertRegexp('old', 'No old news')
    self.assertNotError('add 0 a: b')
    self.assertRegexp('old', 'No old news')
    self.assertNotError('add 5 foo: bar')
    self.assertRegexp('old', 'No old news')
    print()
    print('Sleeping to expire the news item (testOldnews)')
    time.sleep(6)
    print('Done sleeping.')
    self.assertNotError('old')