From a58e5b97d9ce89a785c546b0b09c1cd481a9c352 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 2 Jan 2004 19:53:18 +0000 Subject: [PATCH] Fixed some tests. --- test/test_FunDB.py | 2 +- test/test_URL.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_FunDB.py b/test/test_FunDB.py index 3629cdfe8..b3070a206 100644 --- a/test/test_FunDB.py +++ b/test/test_FunDB.py @@ -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') diff --git a/test/test_URL.py b/test/test_URL.py index af8f279da..a0e1fb993 100644 --- a/test/test_URL.py +++ b/test/test_URL.py @@ -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/',