From c618628d15eb5646900861cff90198ed96a5cc8d Mon Sep 17 00:00:00 2001 From: Triatmoko Date: Sat, 29 Oct 2011 02:46:13 +0200 Subject: add new test result, 801 and 802 for device not work --- For Weekly Test/tricode/trueTableClass.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'For Weekly Test/tricode/trueTableClass.py') 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 -- cgit v1.2.3-55-g7522