summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/trueTableClass.py
diff options
context:
space:
mode:
authorgsmselftest2011-10-30 19:04:45 +0100
committergsmselftest2011-10-30 19:04:45 +0100
commitec9b8abb4a481256eb325e8969ef591a9e965098 (patch)
tree1f32a5f052b3aa9611d705b340a1b02521408cd8 /For Weekly Test/tricode/trueTableClass.py
parentsmart test picture edit (diff)
downloadgsm-selftest-ec9b8abb4a481256eb325e8969ef591a9e965098.tar.gz
gsm-selftest-ec9b8abb4a481256eb325e8969ef591a9e965098.tar.xz
gsm-selftest-ec9b8abb4a481256eb325e8969ef591a9e965098.zip
device not ready message added
Diffstat (limited to 'For Weekly Test/tricode/trueTableClass.py')
-rwxr-xr-xFor Weekly Test/tricode/trueTableClass.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/For Weekly Test/tricode/trueTableClass.py b/For Weekly Test/tricode/trueTableClass.py
index b737559..7c64283 100755
--- a/For Weekly Test/tricode/trueTableClass.py
+++ b/For Weekly Test/tricode/trueTableClass.py
@@ -124,7 +124,7 @@ class trueTable:
elif j == i:
stop = True
- if call[0:5]=='GSMEx': # looking for calling from GSMexternal
+ if call[0:5]=='GSMEx' and int(result) == 999 and int(result) == 801: # looking for calling from GSMexternal
found = False
if len(self.nanoBts) == 0:
self.nanoBts.append([call,result])
@@ -133,17 +133,14 @@ class trueTable:
for y in self.nanoBts: #find the existing result for GSM external in the list
name = y[0]
if name == call:
- if int(y[1]) == 486 or int(y[1]) == 999 or int(y[1]) == 998:
+ if int(y[1]) == 486 or int(y[1]) == 999 or int(y[1]) == 998 or int(y[1]) == 801:
self.nanoBts.remove(y)
else:
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
+ if dest[0:5]=='GSMEx' and int(result) == 998 and int(result) == 802: # looking for destination call to GSMexternal
found = False
if len(self.nanoBts) == 0:
self.nanoBts.append([dest,result])
@@ -153,15 +150,13 @@ class trueTable:
for y in self.nanoBts:
name = y[0]
if name == dest:
- if int(y[1]) == 486 or int(y[1]) == 999 or int(y[1]) == 998 or int(y[1]) == 402:
+ if int(y[1]) == 486 or int(y[1]) == 999 or int(y[1]) == 998 or int(y[1]) == 402 or int(y[1]) == 802:
self.nanoBts.remove(y)
else:
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: