From dce969e4b9aff6aadf26c3ee148bbdc0776ff9b5 Mon Sep 17 00:00:00 2001 From: David Macek Date: Sat, 24 Apr 2021 19:38:29 +0200 Subject: [PATCH] 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. --- src/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test.py b/src/test.py index c9d9e93d1..354d21809 100644 --- a/src/test.py +++ b/src/test.py @@ -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.')