mirror of git://git.sysmocom.de/ofono
test: Fix modem path handling for icon testing
This commit is contained in:
parent
200959af46
commit
5e2953a21e
|
@ -17,8 +17,8 @@ manager = dbus.Interface(bus.get_object("org.ofono", "/"),
|
||||||
modems = manager.GetModems()
|
modems = manager.GetModems()
|
||||||
|
|
||||||
for path, properties in modems:
|
for path, properties in modems:
|
||||||
if "org.ofono.SimManager" not in properties["Interfaces"]:
|
if "org.ofono.SimManager" in properties["Interfaces"]:
|
||||||
continue
|
break
|
||||||
|
|
||||||
sim = dbus.Interface(bus.get_object('org.ofono', path),
|
sim = dbus.Interface(bus.get_object('org.ofono', path),
|
||||||
'org.ofono.SimManager')
|
'org.ofono.SimManager')
|
||||||
|
|
Loading…
Reference in New Issue