ChannelStats: Fix tests.

This commit is contained in:
Valentin Lorentz 2012-12-12 19:24:39 +01:00
parent 943f3a0133
commit f19eb060f3

View File

@ -44,6 +44,7 @@ class ChannelStatsTestCase(ChannelPluginTestCase):
_ = self.irc.takeMsg()
chanop = ircdb.makeChannelCapability(self.channel, 'op')
ircdb.users.getUser(self.nick).addCapability(chanop)
self.irc.feedMsg(ircmsgs.join(self.channel, prefix=self.prefix))
def test(self):
self.assertNotError('channelstats')