summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/trueTableClass.py
diff options
context:
space:
mode:
authorgsmselftest2011-10-21 23:18:49 +0200
committergsmselftest2011-10-21 23:18:49 +0200
commit3c6204d5539f89d1b42ba3ae049af2140ad34504 (patch)
treed53d9415c5897a3081ad5289f3042905a7746044 /For Weekly Test/tricode/trueTableClass.py
parentReport writing! (diff)
downloadgsm-selftest-3c6204d5539f89d1b42ba3ae049af2140ad34504.tar.gz
gsm-selftest-3c6204d5539f89d1b42ba3ae049af2140ad34504.tar.xz
gsm-selftest-3c6204d5539f89d1b42ba3ae049af2140ad34504.zip
last modification
Diffstat (limited to 'For Weekly Test/tricode/trueTableClass.py')
-rwxr-xr-xFor Weekly Test/tricode/trueTableClass.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/For Weekly Test/tricode/trueTableClass.py b/For Weekly Test/tricode/trueTableClass.py
index 36ddef6..11f1cc9 100755
--- a/For Weekly Test/tricode/trueTableClass.py
+++ b/For Weekly Test/tricode/trueTableClass.py
@@ -4,7 +4,7 @@ class trueTable:
def __init__(self, resultsList):
self.resultsList = resultsList
- self.outGoingRZ = False
+ self.outGoingRZ = None
self.asteriskServer = None
self.incomingRZ = None
self.openBSC = None
@@ -18,8 +18,7 @@ class trueTable:
def lookingBTSname(self, btsname):
if len(self.nanoBts) == 0:
- self.nanoBts.append([btsName,True])
- found = True
+ found = False
else:
found = False
for y in self.nanoBts: #find the existing nanoBts result
@@ -76,6 +75,7 @@ class trueTable:
btsName = 'nanoBts '+str(j)
if result == '200':
+
btsName = 'nanoBts '+str(j)
self.asteriskServer = True #set status of asterik server as working
if self.lookingBTSname(btsName) != True:
@@ -115,10 +115,12 @@ class trueTable:
if self.lookingBTSname(key) != True:
self.nanoBts.append([key,result])
+
if result == '999' and key == call: # find how to solve this!!!
-
+
if self.lookingBTSname(key) != True:
self.nanoBts.append([key,result])
+
j = j+1
@@ -158,7 +160,7 @@ class trueTable:
if found != True:
self.nanoBts.append([dest,result])
for device in externalRZList:
- if device == dest and int(result[1]) == 200:
+ if device == dest and int(result) == 200:
self.outGoingRZ = True