Added Config to the default list of plugins loaded.

This commit is contained in:
Jeremy Fincher 2004-01-19 20:23:03 +00:00
parent dc87ed26aa
commit 4df10116ed

View File

@ -134,13 +134,15 @@ class PluginTestCase(unittest.TestCase):
pass
#OwnerModule = Owner.loadPluginModule('Owner')
MiscModule = Owner.loadPluginModule('Misc')
ConfigModule = Owner.loadPluginModule('Config')
_ = Owner.loadPluginClass(self.irc, Owner)
_ = Owner.loadPluginClass(self.irc, MiscModule)
_ = Owner.loadPluginClass(self.irc, ConfigModule)
if isinstance(self.plugins, str):
self.plugins = [self.plugins]
else:
for name in self.plugins:
if name not in ('Owner', 'Misc'):
if name not in ('Owner', 'Misc', 'Config'):
try:
module = Owner.loadPluginModule(name)
except Owner.Deprecated, e: