Skip to content

Commit 52c8a20

Browse files
Add test
1 parent 36f70ef commit 52c8a20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_utils.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from pydantic_settings.utils import path_type_label
2+
3+
4+
def test_path_type_label(tmp_path):
5+
result = path_type_label(tmp_path)
6+
assert result == 'directory'

0 commit comments

Comments
 (0)