mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Fixed bug in test.
This commit is contained in:
parent
85d66a4e9f
commit
e3b1eb1850
@ -314,6 +314,14 @@ class PrivmsgTestCase(ChannelPluginTestCase):
|
||||
"""Third"""
|
||||
irc.reply(' '.join(args))
|
||||
|
||||
def tearDown(self):
|
||||
if hasattr(self.First, 'first'):
|
||||
del self.First.first
|
||||
if hasattr(self.Second, 'second'):
|
||||
del self.Second.second
|
||||
if hasattr(self.FirstRepeat, 'firstrepeat'):
|
||||
del self.FirstRepeat.firstrepeat
|
||||
|
||||
def testDispatching(self):
|
||||
self.irc.addCallback(self.First())
|
||||
self.irc.addCallback(self.Second())
|
||||
|
Loading…
Reference in New Issue
Block a user