def testNews(self):
    self.assertRegexp('news', 'no news')
    self.assertRegexp('news #channel', 'no news')
    self.assertNotError('add #channel 0 subject: foo')
    self.assertNotError('news #channel')
    self.assertNotError('add 0 subject: foo')
    self.assertRegexp('news', '#1')
    self.assertNotError('news 1')
def testNews(self):
    self.assertRegexp('news', 'no news')
    self.assertRegexp('news #channel', 'no news')
    self.assertNotError('add #channel 0 subject: foo')
    self.assertNotError('news #channel')
    self.assertNotError('add 0 subject: foo')
    self.assertRegexp('news', '#1')
    self.assertNotError('news 1')