mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Test fixes.
This commit is contained in:
parent
c59db0f3a8
commit
d762c1e8c8
@ -195,7 +195,7 @@ class MiscTestCase(ChannelPluginTestCase):
|
||||
|
||||
def testApropos(self):
|
||||
self.assertNotError('apropos f')
|
||||
self.assertError('apropos asldkfjasdlkfja')
|
||||
self.assertRegexp('apropos asldkfjasdlkfja', 'No appropriate commands')
|
||||
|
||||
def testAproposDoesntReturnNonCanonicalNames(self):
|
||||
self.assertNotRegexp('apropos exec', '_exec')
|
||||
|
@ -64,8 +64,6 @@ if network:
|
||||
conf.supybot.reply.whenNotCommand.setValue(orig)
|
||||
|
||||
def testRssAddBadName(self):
|
||||
self.assertError('rss add . %s' % url)
|
||||
self.assertError('rss add : %s' % url)
|
||||
self.assertError('rss add "foo bar" %s' % url)
|
||||
|
||||
def testCantAddFeedNamedRss(self):
|
||||
|
Loading…
Reference in New Issue
Block a user