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_python_contains_python_version(self): self.assert_(platform.python_version() in get_python())
def test_get_python_contains_python_implementation(self): self.assert_(platform.python_implementation() in get_python())