diff Plugins/DicomWeb/Run.py @ 386:344dafb7c9ff Orthanc-1.9.1

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Feb 2021 18:28:06 +0100
parents fd6d805eae37
children 3ef44d201875
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py	Thu Feb 25 18:28:00 2021 +0100
+++ b/Plugins/DicomWeb/Run.py	Thu Feb 25 18:28:06 2021 +0100
@@ -757,7 +757,7 @@
         self.assertTrue('Hello' in s['hello']['HttpHeaders'])
         self.assertEqual('Test', s['hello']['UserProperty'])
         self.assertEqual('1', s['hello']['HasDelete'])
-        self.assertEqual(66, s['hello']['Timeout'])  # New in 1.6
+        self.assertEqual(66, int(s['hello']['Timeout']))  # New in 1.6
         
         DoDelete(ORTHANC, '/dicom-web/servers/hello')