Skip to content

Commit 95edf5a

Browse files
authored
Merge pull request #36 from code-yeongyu/feature/codecov-badges
Add codecov badge to readme
2 parents 9977a01 + 5ed5993 commit 95edf5a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AiShell 🤖
22

3+
[![codecov](https://codecov.io/gh/code-yeongyu/AiShell/branch/master/graph/badge.svg?token=MR72XGUQWJ)](https://codecov.io/gh/code-yeongyu/AiShell)
34
[![Release Package to PyPI](https://github.com/code-yeongyu/AiShell/actions/workflows/release.yml/badge.svg)](https://github.com/code-yeongyu/AiShell/actions/workflows/release.yml)
45
[![PyPI version](https://badge.fury.io/py/aishell.svg)](https://badge.fury.io/py/aishell)
56

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)