summaryrefslogtreecommitdiffstats
path: root/test/test-voicecall
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-voicecall')
-rwxr-xr-xtest/test-voicecall5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test-voicecall b/test/test-voicecall
index 2e3ed9ef..3b0d4321 100755
--- a/test/test-voicecall
+++ b/test/test-voicecall
@@ -54,9 +54,8 @@ if __name__ == "__main__":
manager = dbus.Interface(bus.get_object('org.ofono', '/'),
'org.ofono.Manager')
- modems = manager.GetProperties()['Modems']
- modem = modems[0]
- print modems
+ modems = manager.GetModems()
+ modem = modems[0][0]
if (len(sys.argv) == 3):
modem = sys.argv[1]