mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 22:49:23 +01:00
tests: Pass setUp arguments
ChannelPluginTestCase#setUp accepts the same parameters as its super-method PluginTestCase#setUp, but it didn't pass the arguments down the line. Now it does.
This commit is contained in:
parent
abac8307ac
commit
dce969e4b9
@ -486,7 +486,7 @@ class ChannelPluginTestCase(PluginTestCase):
|
||||
if not forceSetup and \
|
||||
self.__class__ in (PluginTestCase, ChannelPluginTestCase):
|
||||
return
|
||||
PluginTestCase.setUp(self)
|
||||
PluginTestCase.setUp(self, nick, forceSetup)
|
||||
self.irc.feedMsg(ircmsgs.join(self.channel, prefix=self.prefix))
|
||||
m = self.irc.takeMsg()
|
||||
self.assertFalse(m is None, 'No message back from joining channel.')
|
||||
|
Loading…
Reference in New Issue
Block a user