summaryrefslogtreecommitdiffstats
path: root/test/test-ussd
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-ussd')
-rwxr-xr-xtest/test-ussd8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test-ussd b/test/test-ussd
index 3b553d05..6e24de8e 100755
--- a/test/test-ussd
+++ b/test/test-ussd
@@ -30,12 +30,8 @@ if __name__ == "__main__":
manager = dbus.Interface(bus.get_object('org.ofono', '/'),
'org.ofono.Manager')
- try:
- modems = manager.GetProperties()['Modems']
- except dbus.DBusException, e:
- print "Unable to get the Modems property %s" % e
-
- ss = dbus.Interface(bus.get_object('org.ofono', modems[0]),
+ modems = manager.GetModems()
+ ss = dbus.Interface(bus.get_object('org.ofono', modems[0][0]),
'org.ofono.SupplementaryServices')
props = ss.GetProperties()