def test_log_config_syslog_with_opts(self):
        container = self._cntr(config={'log_driver': 'syslog', 'log_opt': {
            'syslog-address': 'tcp://127.0.0.1:514'
        }})
        self.assertTrue("LogConfig" in container.host_config)
        self.assertEqual(container.host_config['LogConfig'], {
            'Type': 'syslog', 'Config': {
                'syslog-address': 'tcp://127.0.0.1:514'
            }})
dataset/ETHPy150Open signalfx/maestro-ng/tests/unittests.py/ContainerTest.test_log_config_syslog_with_opts/original