Fix in a test.

This commit is contained in:
Jeremy Fincher 2004-12-08 16:53:58 +00:00
parent 2ae2c16171
commit 407952f5a0

View File

@ -50,10 +50,12 @@ class FilterTest(ChannelPluginTestCase, PluginDocumentation):
self.assertNotError('disable rot13') self.assertNotError('disable rot13')
self.assertError('outfilter rot13') self.assertError('outfilter rot13')
self.assertNotError('enable rot13') self.assertNotError('enable rot13')
self.assertNotError('disable notAPlugin rot13')
self.assertNotError('outfilter rot13') self.assertNotError('outfilter rot13')
finally: finally:
callbacks.Privmsg._disabled.remove('rot13') try:
callbacks.Privmsg._disabled.remove('rot13')
except KeyError:
pass
def testHebrew(self): def testHebrew(self):
self.assertResponse('hebrew The quick brown fox ' self.assertResponse('hebrew The quick brown fox '