test: Add timeout to be compliant with GCF

With some GCF test cases, default python script timeout
is too short to pass the tests.
This commit is contained in:
Guillaume Zajac 2012-05-22 14:49:16 +02:00 committed by Denis Kenzior
parent 9b288f92f8
commit 7158c5790b
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ path = modems[0][0]
manager = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.VoiceCallManager')
mpty = manager.PrivateChat(sys.argv[1])
mpty = manager.PrivateChat(sys.argv[1], timeout=100)
for path in mpty:
print path

View File

@ -17,4 +17,4 @@ if (len(sys.argv) == 2):
manager = dbus.Interface(bus.get_object('org.ofono', modem),
'org.ofono.VoiceCallManager')
manager.SwapCalls()
manager.SwapCalls(timeout=100)