def setup_logging(verbosity_level, save_debug_log): setup_root_logger() setup_console_logging(verbosity_level) if save_debug_log: setup_debug_logging_to_file() logger = logging.getLogger('mopidy.utils.log') logger.info(u'Starting Mopidy %s on %s %s', get_version(), get_platform(), get_python())
def test_get_platform_contains_platform(self): self.assert_(platform.platform() in get_platform())
def test_get_platform_contains_platform(self): self.assertIn(platform.platform(), get_platform())