summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/12-09-2011/initTestClass.py
diff options
context:
space:
mode:
Diffstat (limited to 'For Weekly Test/12-09-2011/initTestClass.py')
-rw-r--r--For Weekly Test/12-09-2011/initTestClass.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/For Weekly Test/12-09-2011/initTestClass.py b/For Weekly Test/12-09-2011/initTestClass.py
index 97fdfee..1846cd6 100644
--- a/For Weekly Test/12-09-2011/initTestClass.py
+++ b/For Weekly Test/12-09-2011/initTestClass.py
@@ -65,14 +65,14 @@ class doTheTest:
if self.status == 1:
self.initaccount(dest,callTo)
if self.status == 1:
- callAdd = caller[0]
+ callPortAdd = caller[0]
accCaller = caller[2]+':'+caller[3]+':'+caller[4]+':'
- destAdd = dest[0]
+ destPortAdd = dest[0]
destNo = dest[1]
accDest = dest[2]+':'+dest[3]+':'+dest[4]+':'
- makeTest = ControllerClass.doTheTest(callFrom, callAdd, accCaller, callTo, destAdd, destNo, accDest)
+ makeTest = ControllerClass.doTheTest(callFrom, callPortAdd, accCaller, callTo, destPortAdd, destNo, accDest)
makeTest.FuncTest()
self.result = str(makeTest.testResult)
else:
@@ -298,7 +298,8 @@ class doTheTest:
if self.serverStatus <> 0:
self.initTest('GSMRZ1','unisip')
if self.result =='200':
- print "Outgoing call from GSM RZ is working" elif self.result == '486':
+ print "Outgoing call from GSM RZ is working"
+ elif self.result == '486':
print "Outgoing call from GSM RZ to UTN indicate having problem"
else:
print handlerError