mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +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):
|
class ChannelPluginTestCase(PluginTestCase):
|
||||||
channel = '#test'
|
channel = '#test'
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
PluginTestCase.setUp(self)
|
||||||
|
self.irc.feedMsg(ircmsgs.join(self.channel, prefix=self.prefix))
|
||||||
|
|
||||||
def _feedMsg(self, query, timeout=None):
|
def _feedMsg(self, query, timeout=None):
|
||||||
if timeout is None:
|
if timeout is None:
|
||||||
timeout = self.timeout
|
timeout = self.timeout
|
||||||
|
Loading…
Reference in New Issue
Block a user