diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-09-09 14:37:37 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-09 14:38:14 -0500 |
commit | ba6db3af42efe2bcd85df536d1290487f9243d25 (patch) | |
tree | ea8b18188afaebe8c53a0b8811ef84886ba2abec /test/test-advice-of-charge | |
parent | b24439ed7b21bafa8d8226d43cec92ecdcb79cc8 (diff) | |
download | ofono-ba6db3af42efe2bcd85df536d1290487f9243d25.tar.bz2 |
test: Update to the new Manager api
Diffstat (limited to 'test/test-advice-of-charge')
-rwxr-xr-x | test/test-advice-of-charge | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-advice-of-charge b/test/test-advice-of-charge index 390c8613..d71b7c65 100755 --- a/test/test-advice-of-charge +++ b/test/test-advice-of-charge @@ -41,9 +41,9 @@ if __name__ == "__main__": manager = dbus.Interface(bus.get_object('org.ofono', '/'), 'org.ofono.Manager') - modems = manager.GetProperties()['Modems'] + modems = manager.GetModems() - cm = dbus.Interface(bus.get_object('org.ofono', modems[0]), + cm = dbus.Interface(bus.get_object('org.ofono', modems[0][0]), 'org.ofono.CallMeter') cm.connect_to_signal("PropertyChanged", cm_property_changed) |