mirror of git://git.sysmocom.de/ofono
test: Add longer timeouts for basic modem operations
This commit is contained in:
parent
996d720b88
commit
9c08d4b7b5
|
@ -17,4 +17,4 @@ print "Disconnecting modem %s..." % path
|
|||
modem = dbus.Interface(bus.get_object('org.ofono', path),
|
||||
'org.ofono.Modem')
|
||||
|
||||
modem.SetProperty("Powered", dbus.Boolean(0))
|
||||
modem.SetProperty("Powered", dbus.Boolean(0), timeout = 120)
|
||||
|
|
|
@ -17,4 +17,4 @@ print "Connecting modem %s..." % path
|
|||
modem = dbus.Interface(bus.get_object('org.ofono', path),
|
||||
'org.ofono.Modem')
|
||||
|
||||
modem.SetProperty("Powered", dbus.Boolean(1))
|
||||
modem.SetProperty("Powered", dbus.Boolean(1), timeout = 120)
|
||||
|
|
|
@ -14,4 +14,4 @@ else:
|
|||
|
||||
print "Setting modem %s offline..." % path
|
||||
modem = dbus.Interface(bus.get_object('org.ofono', path), 'org.ofono.Modem')
|
||||
modem.SetProperty("Online", dbus.Boolean(0))
|
||||
modem.SetProperty("Online", dbus.Boolean(0), timeout = 120)
|
||||
|
|
|
@ -14,4 +14,4 @@ else:
|
|||
|
||||
print "Setting modem %s online..." % path
|
||||
modem = dbus.Interface(bus.get_object('org.ofono', path), 'org.ofono.Modem')
|
||||
modem.SetProperty("Online", dbus.Boolean(1))
|
||||
modem.SetProperty("Online", dbus.Boolean(1), timeout = 120)
|
||||
|
|
Loading…
Reference in New Issue