diff --git a/test/test_Channel.py b/test/test_Channel.py index 8a3c1a5d7..18db9ba9d 100644 --- a/test/test_Channel.py +++ b/test/test_Channel.py @@ -150,6 +150,7 @@ class ChannelTestCase(ChannelPluginTestCase, PluginDocumentation): # something wonky is going on here. irc.error (src/Channel.py|449) # is being called but the assert is failing self.assertError('permban not!a.hostmask') + self.assertNotRegexp('permban not!a.hostmask', 'KeyError') finally: conf.supybot.protocols.irc.strictRfc.setValue(orig)