plugin room_game, radiocol: RoomGame.send returns a Deferred.
This commit is contained in:
parent
3de25fd781
commit
7c29b8c566
1 changed files with 16 additions and 13 deletions
|
|
@ -30,6 +30,7 @@ from constants import Const
|
|||
from twisted.words.protocols.jabber.jid import JID
|
||||
from twisted.words.xish import domish
|
||||
from twisted.internet import reactor
|
||||
from twisted.internet import defer
|
||||
from twisted.python.failure import Failure
|
||||
|
||||
from mutagen.oggvorbis import OggVorbis
|
||||
|
|
@ -381,6 +382,8 @@ class RadiocolTest(helpers.SatTestCase):
|
|||
for filename in self.playlist:
|
||||
self.plugin.deleteFile('/tmp/' + filename)
|
||||
|
||||
return defer.succeed(None)
|
||||
|
||||
def tearDown(self, *args, **kwargs):
|
||||
"""Clean the reactor"""
|
||||
helpers.SatTestCase.tearDown(self, *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue