diff src/test/test_plugin_misc_radiocol.py @ 849:c5a8f602662b

plugin room_game, radiocol: RoomGame.send returns a Deferred.
author souliane <souliane@mailoo.org>
date Tue, 18 Feb 2014 17:49:33 +0100
parents d6bdf6022180
children 4d091738275c
line wrap: on
line diff
--- a/src/test/test_plugin_misc_radiocol.py	Tue Feb 18 16:24:19 2014 +0100
+++ b/src/test/test_plugin_misc_radiocol.py	Tue Feb 18 17:49:33 2014 +0100
@@ -30,6 +30,7 @@
 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 @@
         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)