MCPcopy Create free account
hub / github.com/apache/cloudstack / printMsg

Method printMsg

tools/marvin/marvin/marvinPlugin.py:188–196  ·  view source on GitHub ↗
(self, status, tname, err)

Source from the content-addressed store, hash-verified

186 self.__startTime = time.time()
187
188 def printMsg(self, status, tname, err):
189 if status in [FAILED, EXCEPTION] and self.__tcRunLogger:
190 self.__tcRunLogger.\
191 fatal("%s: %s: %s" % (status,
192 tname,
193 GetDetailExceptionInfo(err)))
194 write_str = "=== TestName: %s | Status : %s ===\n" % (tname, status)
195 self.__resultStream.write(write_str)
196 print(write_str)
197
198 def addSuccess(self, test, capt):
199 '''

Callers 3

addSuccessMethod · 0.95
handleErrorMethod · 0.95
handleFailureMethod · 0.95

Calls 2

GetDetailExceptionInfoFunction · 0.90
writeMethod · 0.65

Tested by

no test coverage detected