From 0b34371253767db7db314b57aa42bc1a0c4a1ce0 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Sat, 15 Feb 2020 01:17:47 +0100 Subject: [PATCH] test: Update paths in list-devices --- test/list-devices | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/list-devices b/test/list-devices index 301dea6a..fb76d3ca 100755 --- 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