From 407952f5a078266c02316a8c1c5e2b0ee160f808 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 8 Dec 2004 16:53:58 +0000 Subject: [PATCH] Fix in a test. --- test/test_Filter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_Filter.py b/test/test_Filter.py index 1b1bd2c43..70b568363 100644 --- a/test/test_Filter.py +++ b/test/test_Filter.py @@ -50,10 +50,12 @@ class FilterTest(ChannelPluginTestCase, PluginDocumentation): self.assertNotError('disable rot13') self.assertError('outfilter rot13') self.assertNotError('enable rot13') - self.assertNotError('disable notAPlugin rot13') self.assertNotError('outfilter rot13') finally: - callbacks.Privmsg._disabled.remove('rot13') + try: + callbacks.Privmsg._disabled.remove('rot13') + except KeyError: + pass def testHebrew(self): self.assertResponse('hebrew The quick brown fox '