test: Add selecting the modem in create-multiparty

This commit is contained in:
Denis Kenzior 2013-09-10 10:53:17 -05:00
parent 2e5938f3bb
commit 75e747122c
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,10 @@ manager = dbus.Interface(bus.get_object('org.ofono', '/'),
modems = manager.GetModems()
path, properties = modems[0]
path = modems[0][0]
if (len(sys.argv) == 2):
path = sys.argv[1]
manager = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.VoiceCallManager')