def test_config_set_string(self): config = DefaultConfig() config.set_string('-rawlogdir', '~/pocketsphinx') self.assertEqual(config.get_string('-rawlogdir'), '~/pocketsphinx')
def test_config_get_string(self): config = DefaultConfig() self.assertEqual(config.get_string('-rawlogdir'), None)