commit 0b34371253767db7db314b57aa42bc1a0c4a1ce0 parent dd2677402a04f4c663ea916eea712241d1255f86 Author: Andrew Zaborowski <andrew.zaborowski@intel.com> Date: Sat, 15 Feb 2020 01:17:47 +0100 test: Update paths in list-devices Diffstat:
| M | test/list-devices | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/list-devices b/test/list-devices @@ -21,7 +21,8 @@ for path in objects: node = node.children[subpath] node.interfaces.update(objects[path]) -for path, phy in tree.children.items(): +root = tree.children['/net'].children['/net/connman'].children['/net/connman/iwd'] +for path, phy in root.children.items(): if 'net.connman.iwd.Adapter' not in phy.interfaces: continue