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