mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +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):
|
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')
|
||||||
|
@ -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/',
|
||||||
|
Loading…
Reference in New Issue
Block a user