From 9caaf8fef9b848f86883c26dd2a21bd843755a72 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 27 Oct 2003 08:50:42 +0000 Subject: [PATCH] Loaded Misc in every test because that's just plain neceessary, what with replyWhenNotCommand and all. --- test/test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test.py b/test/test.py index 121a3617d..1bdb947b2 100755 --- a/test/test.py +++ b/test/test.py @@ -60,6 +60,7 @@ import ircmsgs import ircutils import callbacks import Owner +import Misc originalCallbacksGetHelp = callbacks.getHelp lastGetHelp = 'x'*1000 @@ -144,13 +145,14 @@ class PluginTestCase(unittest.TestCase): while self.irc.takeMsg(): pass _ = Owner.loadPluginClass(self.irc, Owner) + _ = Owner.loadPluginClass(self.irc, Misc) if isinstance(self.plugins, str): - if self.plugins != 'Owner': + if self.plugins not in ('Owner', 'Misc'): module = Owner.loadPluginModule(self.plugins) cb = Owner.loadPluginClass(self.irc, module) else: for name in self.plugins: - if name != 'Owner': + if name not in ('Owner', 'Misc'): module = Owner.loadPluginModule(name) cb = Owner.loadPluginClass(self.irc, module)