This commit is contained in:
weiil 2016-01-20 17:10:24 +08:00
Родитель 8ca71c193c
Коммит 4c121802ac
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -17,12 +17,12 @@ def CheckServer():
#print output #print output
RunLog.info("Checking if server was connected to client..") RunLog.info("Checking if server was connected to client..")
if ("connected" in output) : if ("connected" in output) :
str_out = string.split(output) str_out = str.split(output)
#len_out = len(str_out) #len_out = len(str_out)
#This for loop in used to check the every word of test output [Future plan] #This for loop in used to check the every word of test output [Future plan]
for each in str_out : for each in str_out :
#print(each) #print(each)
if cmp(each, "connected")==0 : if each == "connected":
RunLog.info("Server was successfully connected to client.") RunLog.info("Server was successfully connected to client.")
ResultLog.info("PASS") ResultLog.info("PASS")
break break