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 e100833 commit 090f371Copy full SHA for 090f371
tests/unit/models/test_path_data.py
@@ -37,6 +37,18 @@ def test_path_data_init(path_data):
37
assert path_data.metadata.sensitive is False
38
39
40
+def test_path_data_init_no_metadata():
41
+ """Test PathData initialization with no metadata."""
42
+ path = "test.path"
43
+ path_data = PathData(path)
44
+
45
+ assert path_data.path == path
46
+ assert path_data.metadata.description == ""
47
+ assert path_data.metadata.required is False
48
+ assert path_data.metadata.sensitive is False
49
+ assert len(path_data._values) == 0
50
51
52
def test_set_value(path_data, mock_value):
53
"""Test setting a value."""
54
path_data.set_value("test", mock_value)
0 commit comments