Fixed some tests.

This commit is contained in:
Jeremy Fincher 2004-01-02 19:53:18 +00:00
parent 7955f658d1
commit a58e5b97d9
2 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,7 @@ if sqlite is not None:
def testLartAndPraiseRemoveTrailingPeriods(self): def testLartAndPraiseRemoveTrailingPeriods(self):
for s in ['lart', 'praise']: for s in ['lart', 'praise']:
self.assertNotError('add %s $who foo!' % s) self.assertNotError('add %s $who foo!' % s)
self.assertAction('%s bar.' % s, 'bar foo!') self.assertAction('%s bar.' % s, 'bar foo! (#1)')
def testMyMeReplacement(self): def testMyMeReplacement(self):
self.assertNotError('add lart jabs $who') self.assertNotError('add lart jabs $who')

View File

@ -128,6 +128,7 @@ if sqlite is not None:
r'http://tinyurl.com/u479.* \(was') r'http://tinyurl.com/u479.* \(was')
def testTitleSnarfer(self): def testTitleSnarfer(self):
self.assertNotError('url config titlesnarferincludesurl off')
self.assertNoResponse('http://microsoft.com/') self.assertNoResponse('http://microsoft.com/')
self.assertNotError('url config title-snarfer on') self.assertNotError('url config title-snarfer on')
self.assertResponse('http://microsoft.com/', self.assertResponse('http://microsoft.com/',