Browse Source

[Doc] Fix test Typo

monf 8 years ago
parent
commit
27900dd2d5
2 changed files with 8 additions and 5 deletions
  1. 3 3
      core/Tests/test_dynamic_loading.py
  2. 5 2
      core/Tests/test_settings_loader.py

+ 3 - 3
core/Tests/test_dynamic_loading.py

@@ -54,7 +54,7 @@ class TestDynamicLoading(unittest.TestCase):
 
     def test_03_can_import_stt(self):
         """
-        Try to import each neurons that are present in the neurons package
+        Try to import each stt that are present in the stt package
         :return:
         """
         stts = self.get_package_in_folder(self.stt_dir)
@@ -65,7 +65,7 @@ class TestDynamicLoading(unittest.TestCase):
 
     def test_04_can_import_tts(self):
         """
-        Try to import each neurons that are present in the neurons package
+        Try to import each tts that are present in the tts package
         :return:
         """
         ttss = self.get_package_in_folder(self.tts_dir)
@@ -76,7 +76,7 @@ class TestDynamicLoading(unittest.TestCase):
 
     def test_05_can_import_trigger(self):
         """
-        Try to import each neurons that are present in the neurons package
+        Try to import each trigger that are present in the trigger package
         :return:
         """
         triggers = self.get_package_in_folder(self.trigger_dir)

+ 5 - 2
core/Tests/test_settings_loader.py

@@ -16,8 +16,11 @@ class TestSettingsoader(unittest.TestCase):
 
         self.settings_dict = {
             'rest_api':
-                {'active': True, 'login': 'admin', 'password': 'secret',
-                 'password_protected': True, 'port': 5000},
+                {'active': True,
+                 'login': 'admin',
+                 'password': 'secret',
+                 'password_protected': True,
+                 'port': 5000},
             'default_trigger': 'snowboy',
             'triggers': [{'snowboy': {'pmdl_file': 'trigger/snowboy/resources/kalliope-FR-6samples.pmdl'}}],
             'speech_to_text': [{'google': {'language': 'fr-FR'}}],