diff options
Diffstat (limited to 'test/test-ss-control-cs')
-rwxr-xr-x | test/test-ss-control-cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test-ss-control-cs b/test/test-ss-control-cs index c5f45dea..bf597897 100755 --- a/test/test-ss-control-cs +++ b/test/test-ss-control-cs @@ -22,12 +22,9 @@ 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 + modems = manager.GetModems() - cs = dbus.Interface(bus.get_object('org.ofono', modems[0]), + cs = dbus.Interface(bus.get_object('org.ofono', modems[0][0]), 'org.ofono.CallSettings') cs.connect_to_signal("PropertyChanged", property_changed) |