mirror of git://git.sysmocom.de/ofono
test: Add selecting the modem in create-multiparty
This commit is contained in:
parent
2e5938f3bb
commit
75e747122c
|
@ -10,7 +10,10 @@ manager = dbus.Interface(bus.get_object('org.ofono', '/'),
|
||||||
|
|
||||||
modems = manager.GetModems()
|
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),
|
manager = dbus.Interface(bus.get_object('org.ofono', path),
|
||||||
'org.ofono.VoiceCallManager')
|
'org.ofono.VoiceCallManager')
|
||||||
|
|
Loading…
Reference in New Issue