def test_log_config_converts_options_to_string(self):
        container = self._cntr(config={'log_driver': 'json-file', 'log_opt': {
            'max-size': '2M', 'max-file': 2
        }})
        self.assertTrue("LogConfig" in container.host_config)
        self.assertEqual(len(container.host_config['LogConfig']['Config']), 2)
        for value in container.host_config['LogConfig']['Config'].values():
            self.assertTrue(isinstance(value, six.string_types))
dataset/ETHPy150Open signalfx/maestro-ng/tests/unittests.py/ContainerTest.test_log_config_converts_options_to_string/original