summaryrefslogtreecommitdiffstats
path: root/test/test-stk-menu
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-stk-menu')
-rwxr-xr-xtest/test-stk-menu9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/test-stk-menu b/test/test-stk-menu
index 74d762d1..916a527a 100755
--- a/test/test-stk-menu
+++ b/test/test-stk-menu
@@ -145,14 +145,9 @@ if __name__ == '__main__':
manager = dbus.Interface(bus.get_object("org.ofono", "/"),
"org.ofono.Manager")
- properties = manager.GetProperties()
-
- for path in properties["Modems"]:
- modem = dbus.Interface(bus.get_object('org.ofono', path),
- 'org.ofono.Modem')
-
- properties = modem.GetProperties()
+ modems = manager.GetModems()
+ for path, properties in modems:
if "org.ofono.SimToolkit" not in properties["Interfaces"]:
continue