summaryrefslogtreecommitdiffstats
path: root/Under-Testing/Server-Code-New/gsmselftest.py
diff options
context:
space:
mode:
authorTriatmoko2011-11-18 02:44:10 +0100
committerTriatmoko2011-11-18 02:44:10 +0100
commitb38f67b7162f7d3e5ca75eae58be06163879d22c (patch)
treebde0b6444a66d2c8f5c39e8ee699811aaf9b1341 /Under-Testing/Server-Code-New/gsmselftest.py
parentfix truth table value for task list (diff)
downloadgsm-selftest-b38f67b7162f7d3e5ca75eae58be06163879d22c.tar.gz
gsm-selftest-b38f67b7162f7d3e5ca75eae58be06163879d22c.tar.xz
gsm-selftest-b38f67b7162f7d3e5ca75eae58be06163879d22c.zip
found error on the smart test
Diffstat (limited to 'Under-Testing/Server-Code-New/gsmselftest.py')
-rw-r--r--Under-Testing/Server-Code-New/gsmselftest.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Under-Testing/Server-Code-New/gsmselftest.py b/Under-Testing/Server-Code-New/gsmselftest.py
index 1aeaa16..0824cf4 100644
--- a/Under-Testing/Server-Code-New/gsmselftest.py
+++ b/Under-Testing/Server-Code-New/gsmselftest.py
@@ -209,8 +209,7 @@ def smartTest():
testDest(callFrom, callTo, 1)
gsmRZList.remove(callTo)
destList.remove(callTo)
-
-
+
for callFrom in gsmRZList:
i = random.randint(0, len(destList)-1) #Check whether the caller and dest are same
@@ -356,7 +355,7 @@ def doSmartTest(status):
if status == 'NAGIOS':
initNagiosString(result)
- elif status == True:
+ elif status == False:
initTrueTable(result)
if status == True: