Adding readable start and end time stamps

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
This commit is contained in:
Santhosh Edukulla 2013-10-25 23:39:35 +05:30 committed by Prasanna Santhanam
parent f4fb5f5582
commit b4ceefa469
1 changed files with 4 additions and 3 deletions

View File

@ -140,9 +140,10 @@ class MarvinPlugin(Plugin):
if self.startTime is not None:
totTime = int(endTime - self.startTime)
self.logger.debug(
"****TestCaseName: %s; Time Taken: %s Seconds; \
StartTime: %s; EndTime: %s****"
% (self.testName, str(totTime), self.startTime, endTime))
"TestCaseName: %s; Time Taken: %s Seconds; \
StartTime: %s; EndTime: %s"
% (self.testName, str(totTime),
str(time.ctime(self.startTime)), str(time.ctime(endTime))))
def _injectClients(self, test):
self.debug_stream. \