summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/trueTableClass.py
diff options
context:
space:
mode:
authorTriatmoko2011-10-29 02:46:13 +0200
committerTriatmoko2011-10-29 02:46:13 +0200
commitc618628d15eb5646900861cff90198ed96a5cc8d (patch)
tree86db5ab76d760832fbc9ef6280e897b8735959df /For Weekly Test/tricode/trueTableClass.py
parentChange code (diff)
downloadgsm-selftest-c618628d15eb5646900861cff90198ed96a5cc8d.tar.gz
gsm-selftest-c618628d15eb5646900861cff90198ed96a5cc8d.tar.xz
gsm-selftest-c618628d15eb5646900861cff90198ed96a5cc8d.zip
add new test result, 801 and 802 for device not work
Diffstat (limited to 'For Weekly Test/tricode/trueTableClass.py')
-rwxr-xr-xFor Weekly Test/tricode/trueTableClass.py22
1 files changed, 13 insertions, 9 deletions
diff --git a/For Weekly Test/tricode/trueTableClass.py b/For Weekly Test/tricode/trueTableClass.py
index 377ac8e..b737559 100755
--- a/For Weekly Test/tricode/trueTableClass.py
+++ b/For Weekly Test/tricode/trueTableClass.py
@@ -109,20 +109,17 @@ class trueTable:
if found != True:
self.nanoBts.append([btsName,False])
+ elif result == '801' or result == '802':
+ self.nanoBts.append([key,result])
- if result == '998' and key == dest: # find how to solve this!!!
-
+ if result == '998' and key == dest:
if self.lookingBTSname(key) != True:
self.nanoBts.append([key,result])
- if result == '999' and key == call: # find how to solve this!!!
-
+ if result == '999' and key == call:
if self.lookingBTSname(key) != True:
- self.nanoBts.append([key,result])
-
-
-
+ self.nanoBts.append([key,result])
j = j+1
elif j == i:
stop = True
@@ -142,6 +139,9 @@ class trueTable:
found = True
if found != True:
self.nanoBts.append([call,result])
+
+ if result == '801':
+ self.nanoBts.append([call,result])
if dest[0:5]=='GSMEx': # looking for destination call to GSMexternal
found = False
@@ -159,8 +159,12 @@ class trueTable:
found = True
if found != True:
self.nanoBts.append([dest,result])
+
+ if result == '802':
+ self.nanoBts.append([dest,result])
+
for device in externalRZList:
if device == dest and int(result) == 200:
- self.outGoingRZ = True
+ self.outGoingRZ = True