mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Alias & MoobotFactoids: Fix import error in test.py.
This commit is contained in:
parent
242a54fbf2
commit
34bb33b65f
@ -31,7 +31,7 @@ from supybot.test import *
|
||||
|
||||
import supybot.plugin as plugin
|
||||
|
||||
Alias = plugin.loadPluginModule('Alias')
|
||||
import plugin as Alias
|
||||
|
||||
class FunctionsTest(SupyTestCase):
|
||||
def testFindBiggestDollar(self):
|
||||
|
@ -37,7 +37,7 @@ try:
|
||||
except ImportError:
|
||||
sqlite = None
|
||||
|
||||
MF = plugin.loadPluginModule('MoobotFactoids')
|
||||
import plugin
|
||||
MFconf = conf.supybot.plugins.MoobotFactoids
|
||||
|
||||
class OptionListTestCase(SupyTestCase):
|
||||
@ -47,7 +47,7 @@ class OptionListTestCase(SupyTestCase):
|
||||
original = L[:]
|
||||
while max and L:
|
||||
max -= 1
|
||||
option = MF.plugin.pickOptions(s)
|
||||
option = plugin.pickOptions(s)
|
||||
self.failUnless(option in original,
|
||||
'Option %s not in %s' % (option, original))
|
||||
if option in L:
|
||||
|
Loading…
Reference in New Issue
Block a user