Closedown
This commit is contained in:
@@ -69,12 +69,12 @@ class TestingTool:
|
||||
"""
|
||||
Print/log information
|
||||
text = the string to be printed/logged
|
||||
severity = 0:Info 1:Warning 2:Error
|
||||
severity = 0:Info, 1:Warning, 2:Error
|
||||
"""
|
||||
import time
|
||||
time.ctime()
|
||||
now = time.strftime('%Y.%m.%d %H:%M:%S')
|
||||
sev = ['INFO','WARN','ERRO']
|
||||
sev = ['INF','WAR','ERR']
|
||||
logText = sev[severity] + ' - ' + self.deviceName + ' ' + self.testName + ': ' + str(text)
|
||||
print now + ' ' + logText
|
||||
try:
|
||||
@@ -86,7 +86,7 @@ class TestingTool:
|
||||
log(logText)
|
||||
except:
|
||||
#cannot write log
|
||||
print now + ' ' + self.deviceName + ' - ' + self.testName + ': ' + 'cannot write Log in Data'
|
||||
print now + ' ' + sev[2] + ' - ' + self.deviceName + ' ' + self.testName + ': ' + 'cannot write Log in Data'
|
||||
|
||||
|
||||
def printParams(self):
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
#Wed Oct 18 10:54:16 CEST 2017
|
||||
name=bis-BME1
|
||||
tests=RPS Tests Betriebsmode
|
||||
description=rps section till BMA1
|
||||
description=rps section till BME1
|
||||
parameters=mode&"2,IQCOM,$BME1,1,DIA"&"betriebsmode";expectedVal14&"0x0000"&"[hex] Expected value for channels 1-4";expectedVal58&"0x0000"&"[hex] Expected value for channels 5-8";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#TestingList for pshell: configuration properties
|
||||
#Fri Oct 20 10:07:20 CEST 2017
|
||||
#Fri Oct 20 10:32:03 CEST 2017
|
||||
customPanel=
|
||||
showEnabledTestsOnly=true
|
||||
listFilter=rps-test
|
||||
|
||||
Reference in New Issue
Block a user