Test fixes.

This commit is contained in:
Jeremy Fincher 2004-08-11 07:42:32 +00:00
parent c59db0f3a8
commit d762c1e8c8
2 changed files with 1 additions and 3 deletions

View File

@ -195,7 +195,7 @@ class MiscTestCase(ChannelPluginTestCase):
def testApropos(self): def testApropos(self):
self.assertNotError('apropos f') self.assertNotError('apropos f')
self.assertError('apropos asldkfjasdlkfja') self.assertRegexp('apropos asldkfjasdlkfja', 'No appropriate commands')
def testAproposDoesntReturnNonCanonicalNames(self): def testAproposDoesntReturnNonCanonicalNames(self):
self.assertNotRegexp('apropos exec', '_exec') self.assertNotRegexp('apropos exec', '_exec')

View File

@ -64,8 +64,6 @@ if network:
conf.supybot.reply.whenNotCommand.setValue(orig) conf.supybot.reply.whenNotCommand.setValue(orig)
def testRssAddBadName(self): def testRssAddBadName(self):
self.assertError('rss add . %s' % url)
self.assertError('rss add : %s' % url)
self.assertError('rss add "foo bar" %s' % url) self.assertError('rss add "foo bar" %s' % url)
def testCantAddFeedNamedRss(self): def testCantAddFeedNamedRss(self):