예제 #1
0
 def test_config_set_string(self):
     config = DefaultConfig()
     config.set_string('-rawlogdir', '~/pocketsphinx')
     self.assertEqual(config.get_string('-rawlogdir'), '~/pocketsphinx')
예제 #2
0
 def test_config_set_string(self):
     config = DefaultConfig()
     config.set_string('-rawlogdir', '~/pocketsphinx')
     self.assertEqual(config.get_string('-rawlogdir'), '~/pocketsphinx')
예제 #3
0
 def test_config_get_string(self):
     config = DefaultConfig()
     self.assertEqual(config.get_string('-rawlogdir'), None)
예제 #4
0
 def test_config_get_string(self):
     config = DefaultConfig()
     self.assertEqual(config.get_string('-rawlogdir'), None)