From 52c8a20e89e4d06703fcd07e6909ab4f781b8deb Mon Sep 17 00:00:00 2001 From: Andrei Berenda Date: Fri, 25 Oct 2024 21:17:02 +0200 Subject: [PATCH] Add test --- tests/test_utils.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/test_utils.py diff --git a/tests/test_utils.py b/tests/test_utils.py new file mode 100644 index 0000000..c01ebdb --- /dev/null +++ b/tests/test_utils.py @@ -0,0 +1,6 @@ +from pydantic_settings.utils import path_type_label + + +def test_path_type_label(tmp_path): + result = path_type_label(tmp_path) + assert result == 'directory'