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):
for s in ['lart', 'praise']:
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):
self.assertNotError('add lart jabs $who')

View File

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