From 138c87f372fe4a2ad574c34cfef57a9c9bc053e2 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 30 Oct 2003 00:12:22 +0000 Subject: [PATCH] Changed to a ChannelPluginTestCase. --- test/test_Sourceforge.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_Sourceforge.py b/test/test_Sourceforge.py index 17d5c8a1f..05abf696d 100644 --- a/test/test_Sourceforge.py +++ b/test/test_Sourceforge.py @@ -33,7 +33,7 @@ import re from test import * -class SourceforgeTest(PluginTestCase, PluginDocumentation): +class SourceforgeTest(ChannelPluginTestCase, PluginDocumentation): plugins = ('Sourceforge',) def testBugs(self): self.assertHelp('bugs') @@ -89,10 +89,11 @@ class SourceforgeTest(PluginTestCase, PluginDocumentation): 'group_id=58965&atid=489447') def testToggle(self): - s = r'.*Status.*: \w+' + s = r'Status.*: \w+' self.assertRegexp('http://sourceforge.net/tracker/index.php?'\ 'func=detail&aid=540223&group_id=235&atid=300235', s) self.assertNotError('Sourceforge toggle tracker off') + self.failIf(self.irc.takeMsg()) self.assertNoResponse('http://sourceforge.net/tracker/index.php?'\ 'func=detail&aid=540223&group_id=235&atid=300235') self.assertNotError('Sourceforge toggle tracker on')