mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Fixed some tests.
This commit is contained in:
parent
7955f658d1
commit
a58e5b97d9
@ -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')
|
||||
|
@ -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/',
|
||||
|
Loading…
Reference in New Issue
Block a user