Bug fix for logSearch function
Change-Id: I4df4edd70f2ae52b55a8bb4c8c4081a228c076c0
diff --git a/TestON/tests/SCPF/SCPFscaleTopo/dependencies/scaleTopoFunction.py b/TestON/tests/SCPF/SCPFscaleTopo/dependencies/scaleTopoFunction.py
index 122e7bc..b670e12 100644
--- a/TestON/tests/SCPF/SCPFscaleTopo/dependencies/scaleTopoFunction.py
+++ b/TestON/tests/SCPF/SCPFscaleTopo/dependencies/scaleTopoFunction.py
@@ -56,7 +56,7 @@
'''
try:
- termInfo = main.CLIs[ index ].logSearch( mode=Mode, term=term )
+ termInfo = main.CLIs[ index ].logSearch( mode=Mode, searchTerm=term )
termTime = getTimestampFromString( main, termInfo[ 0 ] )
roleRequestTime = getRoleRequestTimeFromTshark( main )
if termTime == -1 or roleRequestTime == -1:
@@ -87,8 +87,8 @@
'''
try:
- termInfo1 = main.CLIs[ index ].logSearch( mode=mode1,term=term1 )
- termInfo2 = main.CLIs[ index ].logSearch( mode=mode2,term=term2 )
+ termInfo1 = main.CLIs[ index ].logSearch( mode=mode1, searchTerm=term1 )
+ termInfo2 = main.CLIs[ index ].logSearch( mode=mode2, searchTerm=term2 )
if funcMode == 'TD':
startTime = getTimestampFromString( main, termInfo1[0] )
endTime = getTimestampFromString ( main, termInfo2[0] )