summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/initTestClass.py
diff options
context:
space:
mode:
authorTriatmoko2011-10-27 02:36:18 +0200
committerTriatmoko2011-10-27 02:36:18 +0200
commit6f8dbff275fc5c8412353a0ca0176801d2ef1e07 (patch)
treeaa0ffd7504d539d73225322b8dd7fbd3e0fa80c9 /For Weekly Test/tricode/initTestClass.py
parentadd no signal error. (diff)
downloadgsm-selftest-6f8dbff275fc5c8412353a0ca0176801d2ef1e07.tar.gz
gsm-selftest-6f8dbff275fc5c8412353a0ca0176801d2ef1e07.tar.xz
gsm-selftest-6f8dbff275fc5c8412353a0ca0176801d2ef1e07.zip
error handle for GSM Eplus.
Diffstat (limited to 'For Weekly Test/tricode/initTestClass.py')
-rwxr-xr-xFor Weekly Test/tricode/initTestClass.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/For Weekly Test/tricode/initTestClass.py b/For Weekly Test/tricode/initTestClass.py
index 34d6b94..1a660a2 100755
--- a/For Weekly Test/tricode/initTestClass.py
+++ b/For Weekly Test/tricode/initTestClass.py
@@ -151,7 +151,7 @@ class doTest:
else:
sipList.append(device)
- if device[0:5] == 'GSMRZ' or device[0:5] == 'GSMEx':
+ if device[0:5] == 'GSMRZ' or device[0:5] == 'GSMEx' or device == 'sip':
destList.append(device)
#first test from university telphone network to random GSM RZ avaliable
@@ -191,7 +191,8 @@ class doTest:
for callTo in destList:
callFrom = 'sip'
- self.testDestination(callFrom, callTo, 1)
+ if callFrom != callTo:
+ self.testDestination(callFrom, callTo, 1)
#checking unsuccess call, to make sure that destination are really unreachable
for dest in self.smartResultList: