summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode
diff options
context:
space:
mode:
authorTriatmoko2011-10-22 00:40:15 +0200
committerTriatmoko2011-10-22 00:40:15 +0200
commit90a38018c6ccbd53ca1f66b7e451dc44bfa9d712 (patch)
tree566eab866f201a3dbc35fc68bc12bff7854ccf84 /For Weekly Test/tricode
parentsmart test fix the bugs (diff)
downloadgsm-selftest-90a38018c6ccbd53ca1f66b7e451dc44bfa9d712.tar.gz
gsm-selftest-90a38018c6ccbd53ca1f66b7e451dc44bfa9d712.tar.xz
gsm-selftest-90a38018c6ccbd53ca1f66b7e451dc44bfa9d712.zip
still have error in smart
Diffstat (limited to 'For Weekly Test/tricode')
-rwxr-xr-xFor Weekly Test/tricode/initTestClass.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/For Weekly Test/tricode/initTestClass.py b/For Weekly Test/tricode/initTestClass.py
index 74d37f8..eec6b4e 100755
--- a/For Weekly Test/tricode/initTestClass.py
+++ b/For Weekly Test/tricode/initTestClass.py
@@ -207,7 +207,7 @@ class doTest:
testDestination = True
# make sure that destination have not tested by another part and give success result.
for test in self.smartResultList:
- if test[1] == dest[1] and int(dest[2]) == 200:
+ if test[1] == dest[1] and int(test[2]) == 200:
testDestination = False
if testDestination == True:
callFrom = 'sip'
@@ -218,9 +218,9 @@ class doTest:
testDestination = True
# make sure that destination have not tested by another part and give success result.
for test in self.smartResultList:
- if test[1] == dest[1] and int(dest[2]) == 200:
+ if test[1] == dest[1] and int(test[2]) == 200:
testDestination = False
- if int(dest[2]) == 200:
+ if int(test[2]) == 200:
for caller in cpgsmRZList:
if caller == dest[0] or caller == dest[1]:
callFrom = caller
@@ -237,7 +237,7 @@ class doTest:
testDestination = True
# make sure that destination have not tested by another part and give success result.
for test in self.smartResultList:
- if test[1] == dest[1] and int(dest[2]) != 200:
+ if test[1] == dest[1] and int(test[2]) == 200:
testDestination = False # mean dont need to make test
if testDestination == True:
callFrom = 'sip'