mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-22 18:14:41 +01:00
Fix for failures induced by the testing switch to un-firewalled (I think).
This commit is contained in:
parent
f2fd7c9e66
commit
6381e2aef8
@ -33,6 +33,15 @@ from testsupport import *
|
||||
|
||||
class RootWarnerTestCase(PluginTestCase):
|
||||
plugins = ('RootWarner',)
|
||||
def setUp(self):
|
||||
PluginTestCase.setUp(self)
|
||||
self.original = conf.supybot.reply.whenNotCommand()
|
||||
conf.supybot.reply.whenNotCommand.setValue(False)
|
||||
|
||||
def tearDown(self):
|
||||
PluginTestCase.tearDown(self)
|
||||
conf.supybot.reply.whenNotCommand.setValue(self.original)
|
||||
|
||||
def test(self):
|
||||
self.irc.feedMsg(ircmsgs.join('#foo', prefix='foo!root@host'))
|
||||
self.assertNotError(' ')
|
||||
|
Loading…
Reference in New Issue
Block a user