From d2fb6fb4f8298a30ebd09dd36dfdd858d44e6c5c Mon Sep 17 00:00:00 2001 From: James Vega Date: Wed, 27 Oct 2004 03:26:04 +0000 Subject: [PATCH] Fix the tests --- test/test_Channel.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_Channel.py b/test/test_Channel.py index a881c8b81..4a2884698 100644 --- a/test/test_Channel.py +++ b/test/test_Channel.py @@ -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')