changeset 312:e12c8434aa1e Orthanc-1.7.0

print date
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 21 May 2020 13:53:43 +0200
parents 07e2adc4aead
children 857016edb861
files Tests/Tests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Tests.py	Wed May 20 18:29:23 2020 +0200
+++ b/Tests/Tests.py	Thu May 21 13:53:43 2020 +0200
@@ -32,6 +32,7 @@
 from PIL import ImageChops
 from Toolbox import *
 from xml.dom import minidom
+from datetime import datetime
 
 _LOCAL = None
 _REMOTE = None
@@ -151,7 +152,7 @@
         DropOrthanc(_LOCAL)
         DropOrthanc(_REMOTE)
         UninstallLuaCallbacks(_REMOTE)
-        #print "In test", self._testMethodName
+        #print("%s: In test %s" % (datetime.now(), self._testMethodName))
         
     def AssertSameImages(self, truth, url):
         im = GetImage(_REMOTE, url)