mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
Fix the tests
This commit is contained in:
parent
024052b4ab
commit
d2fb6fb4f8
@ -35,6 +35,12 @@ import supybot.ircmsgs as ircmsgs
|
|||||||
|
|
||||||
class ChannelTestCase(ChannelPluginTestCase):
|
class ChannelTestCase(ChannelPluginTestCase):
|
||||||
plugins = ('Channel', 'User')
|
plugins = ('Channel', 'User')
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
super(ChannelTestCase, self).setUp()
|
||||||
|
self.irc.state.channels[self.channel].addUser('foo')
|
||||||
|
self.irc.state.channels[self.channel].addUser('bar')
|
||||||
|
|
||||||
def testLobotomies(self):
|
def testLobotomies(self):
|
||||||
self.assertRegexp('lobotomies', 'not.*any')
|
self.assertRegexp('lobotomies', 'not.*any')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user