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 c5af681 commit 3f4ef9fCopy full SHA for 3f4ef9f
tests/test_context.py
@@ -63,6 +63,13 @@ def test_ctx_load_module(self):
63
mod = ctx.load_module("yolo-system")
64
self.assertIsInstance(mod, Module)
65
66
+ def test_ctx_load_module_with_features(self):
67
+ with Context(YANG_DIR) as ctx:
68
+ mod = ctx.load_module("yolo-system", None, ["*"])
69
+ self.assertIsInstance(mod, Module)
70
+ for f in list(mod.features()):
71
+ self.assertTrue(f.state())
72
+
73
def test_ctx_get_module(self):
74
with Context(YANG_DIR) as ctx:
75
ctx.load_module("yolo-system")
0 commit comments