diff src/test/test_plugin_misc_room_game.py @ 993:301b342c697a

core: use of the new core.log module: /!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
author Goffi <goffi@goffi.org>
date Sat, 19 Apr 2014 19:19:19 +0200
parents 3c270d691e56
children b3f383ab39da
line wrap: on
line diff
--- a/src/test/test_plugin_misc_room_game.py	Sat Apr 19 16:48:26 2014 +0200
+++ b/src/test/test_plugin_misc_room_game.py	Sat Apr 19 19:19:19 2014 +0200
@@ -26,7 +26,6 @@
 from sat.plugins import plugin_misc_room_game as plugin
 from twisted.words.protocols.jabber.jid import JID
 from wokkel.muc import User
-import traceback
 import logging
 
 # Data used for test initialization
@@ -61,7 +60,7 @@
         self.plugin_0249 = self.host.plugins['XEP-0249'] = helpers_plugins.FakeXEP_0249(self.host)
         logger = logging.getLogger()
         level = logger.getEffectiveLevel()
-        logger.setLevel(logging.WARNING)  # remove info pollution
+        logger.setLevel(logging.WARNING)  # remove log.info pollution
         for profile in Const.PROFILE:
             self.host.getClient(profile)  # init self.host.profiles[profile]
         logger.setLevel(level)