Skip to content

Commit 0f4d5a0

Browse files
committed
Add missing test
1 parent 9977a01 commit 0f4d5a0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)