mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Made sure ChannelPluginTestCase actually joined the channel in setUp.
This commit is contained in:
parent
fe4af22e50
commit
6e23e1d080
@ -222,6 +222,11 @@ class PluginTestCase(unittest.TestCase):
|
||||
|
||||
class ChannelPluginTestCase(PluginTestCase):
|
||||
channel = '#test'
|
||||
|
||||
def setUp(self):
|
||||
PluginTestCase.setUp(self)
|
||||
self.irc.feedMsg(ircmsgs.join(self.channel, prefix=self.prefix))
|
||||
|
||||
def _feedMsg(self, query, timeout=None):
|
||||
if timeout is None:
|
||||
timeout = self.timeout
|
||||
|
Loading…
Reference in New Issue
Block a user