Fix the tests

This commit is contained in:
James Vega 2004-10-27 03:26:04 +00:00
parent 024052b4ab
commit d2fb6fb4f8

View File

@ -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')