mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Test fixes.
This commit is contained in:
parent
c59db0f3a8
commit
d762c1e8c8
@ -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')
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user