summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/20-07-2011/classController.py
diff options
context:
space:
mode:
authortriatmoko2011-07-18 17:08:49 +0200
committertriatmoko2011-07-18 17:08:49 +0200
commit0142e3a74f820177775a3d476c0651f4629026b6 (patch)
treeb8f25ba041373dc0753e2336d9e7b1c9a475e97d /For Weekly Test/20-07-2011/classController.py
parentChanged the code to make it more smoothly working. (diff)
downloadgsm-selftest-0142e3a74f820177775a3d476c0651f4629026b6.tar.gz
gsm-selftest-0142e3a74f820177775a3d476c0651f4629026b6.tar.xz
gsm-selftest-0142e3a74f820177775a3d476c0651f4629026b6.zip
modified controller.
Diffstat (limited to 'For Weekly Test/20-07-2011/classController.py')
-rw-r--r--For Weekly Test/20-07-2011/classController.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/For Weekly Test/20-07-2011/classController.py b/For Weekly Test/20-07-2011/classController.py
index e26250d..f39aafb 100644
--- a/For Weekly Test/20-07-2011/classController.py
+++ b/For Weekly Test/20-07-2011/classController.py
@@ -161,9 +161,7 @@ class test:
print "Receiver handler : Ready"
print ""
- x.sendData("start")#send message to handler to start the call
- sleep(0.5)
- x.sendData(self.destNo)
+ x.sendData("start|"+self.destNo)#send message to handler to start the call
x.closeConnection()
x.connect()
@@ -194,9 +192,7 @@ class test:
#if failed, tell everybody to try one more time
if resultOrig == 486 or resultDest == 486:
- x.sendData("start")
- sleep(0.5)
- x.sendData(self.destNo)
+ x.sendData("start|"+self.destNo)
x.closeConnection()
x.connect()