Mercurial > hg > orthanc-tests
diff Plugins/DicomWeb/Run.py @ 388:3ef44d201875
revert incorrect changeset 386
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 26 Feb 2021 08:45:43 +0100 |
parents | 344dafb7c9ff |
children | 9528e2a03d3c |
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py Thu Feb 25 18:28:18 2021 +0100 +++ b/Plugins/DicomWeb/Run.py Fri Feb 26 08:45:43 2021 +0100 @@ -238,6 +238,11 @@ except: pass + try: + DoDelete(ORTHANC, '/dicom-web/servers/hello') # If "test_add_server" fails + except: + pass + UploadInstance(ORTHANC, 'Knee/T1/IM-0001-0001.dcm') self.assertEqual(1, len(DoGet(ORTHANC, '/dicom-web/servers'))) @@ -757,7 +762,7 @@ self.assertTrue('Hello' in s['hello']['HttpHeaders']) self.assertEqual('Test', s['hello']['UserProperty']) self.assertEqual('1', s['hello']['HasDelete']) - self.assertEqual(66, int(s['hello']['Timeout'])) # New in 1.6 + self.assertEqual(66, s['hello']['Timeout']) # New in 1.6 (interpreted as a string in <= 1.5) DoDelete(ORTHANC, '/dicom-web/servers/hello')