commit | c8e5ed0f37e05eeca36f5f9b7931dd523e52e420 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Mar 23 12:46:54 2022 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Mar 24 13:08:13 2022 +0100 |
tree | 080cf7c72acc0870b37b271b885e052e98d8b06b | |
parent | dbb678f98e2fd98ce352d1abf8d65a5337c36f4c [diff] [blame] |
Fix input nodes not being config nodes Although I'm not sure whether they are supposed to be called config nodes, netconf-cli depends on them being "config: true". Change-Id: I2c5cba9b59f74fd5a85c70b3bde0c3217f71bda3 Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/232 Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/5606
diff --git a/tests/yang.cpp b/tests/yang.cpp index 2560f64..0ba0af8 100644 --- a/tests/yang.cpp +++ b/tests/yang.cpp
@@ -1188,6 +1188,7 @@ SECTION("isConfig") { REQUIRE(ys.isConfig("/example-schema:leafInt32")); + REQUIRE(ys.isConfig("/example-schema:rpcOneInput/ahoj")); REQUIRE_FALSE(ys.isConfig("/example-schema:clockSpeed")); REQUIRE_FALSE(ys.isConfig("/example-schema:systemStats")); REQUIRE_FALSE(ys.isConfig("/example-schema:systemStats/upTime"));