From b38f67b7162f7d3e5ca75eae58be06163879d22c Mon Sep 17 00:00:00 2001 From: Triatmoko Date: Fri, 18 Nov 2011 02:44:10 +0100 Subject: found error on the smart test --- Under-Testing/Server-Code-New/gsmselftest.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Under-Testing/Server-Code-New/gsmselftest.py') 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: -- cgit v1.2.3-55-g7522