def test_logger_name_param(self):

        logger = l.get_logger('test')
        self.assertIsNotNone(logger)
        self.assertEqual('git-upstream.test', logger.name)
Test custom logger name
dataset/ETHPy150Open openstack/git-upstream/git_upstream/tests/test_log.py/TestGetLogger.test_logger_name_param