We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9977a01 commit 0f4d5a0Copy full SHA for 0f4d5a0
aishell/utils/test/test_aishell_config_manager.py
@@ -0,0 +1,11 @@
1
+from aishell.utils import AiShellConfigManager
2
+
3
4
+def test_init_without_path():
5
+ config_manager = AiShellConfigManager()
6
+ assert config_manager.config_path == AiShellConfigManager.DEFAULT_CONFIG_PATH
7
8
9
+def test_with_path():
10
+ config_manager = AiShellConfigManager(config_path='test_path')
11
+ assert config_manager.config_path == 'test_path'
0 commit comments