Fix the tests

This commit is contained in:
James Vega 2004-10-27 03:26:04 +00:00
parent 024052b4ab
commit d2fb6fb4f8
1 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,12 @@ import supybot.ircmsgs as ircmsgs
class ChannelTestCase(ChannelPluginTestCase):
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):
self.assertRegexp('lobotomies', 'not.*any')