We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 035ca7c commit 15d1c22Copy full SHA for 15d1c22
tests/test_nodeinfo.py
@@ -27,6 +27,15 @@ def test_nodeinfo_n1():
27
}
28
29
30
+def test_nodeinfo_n1_meta_symlink():
31
+ r = reclass_rs.Reclass(
32
+ nodes_path="./tests/inventory/targets", classes_path="./tests/inventory/classes"
33
+ )
34
+ n = r.nodeinfo("n1")
35
+ npath = Path("./tests/inventory/targets/n1.yml").absolute()
36
+ assert n.__reclass__.uri == f"yaml_fs://{npath}"
37
+
38
39
def test_nodeinfo_n2():
40
r = reclass_rs.Reclass(
41
nodes_path="./tests/inventory/nodes", classes_path="./tests/inventory/classes"
0 commit comments