diff src/test/test_plugin_misc_radiocol.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 95dabdb0c799
children b3f383ab39da
line wrap: on
line diff
--- a/src/test/test_plugin_misc_radiocol.py	Sat Apr 19 16:48:26 2014 +0200
+++ b/src/test/test_plugin_misc_radiocol.py	Sat Apr 19 19:19:19 2014 +0200
@@ -20,7 +20,6 @@
 
 """ Tests for the plugin radiocol """
 
-from sat.core.i18n import _
 from sat.core import exceptions
 from sat.test import helpers, helpers_plugins
 from sat.plugins import plugin_misc_radiocol as plugin
@@ -64,7 +63,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)