changeset 533:c5291d97ed54

fix
author Alain Mazy <am@osimis.io>
date Tue, 25 Apr 2023 08:27:40 +0200
parents f96c023ce523
children d9d059c6082d
files Plugins/DicomWeb/Run.py Tests/Tests.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py	Mon Apr 24 10:43:27 2023 +0200
+++ b/Plugins/DicomWeb/Run.py	Tue Apr 25 08:27:40 2023 +0200
@@ -1653,7 +1653,7 @@
         studyId = DoGet(ORTHANC, '/studies/%s' % study)['MainDicomTags']['StudyInstanceUID']
 
         m = DoGet(ORTHANC, '/dicom-web/studies/%s/metadata' % studyId)
-        self.assertIn("http://localhost:8042/dicom-web", m[0][u'7FE00010']['BulkDataURI'])
+        self.assertIn(ORTHANC['Url'], m[0][u'7FE00010']['BulkDataURI'])
 
         m = DoGet(ORTHANC, '/dicom-web/studies/%s/metadata' % studyId, headers= {
             'host': 'my-domain'
--- a/Tests/Tests.py	Mon Apr 24 10:43:27 2023 +0200
+++ b/Tests/Tests.py	Tue Apr 25 08:27:40 2023 +0200
@@ -4157,6 +4157,7 @@
                                                  'Query' : { 'PatientName' : name }})
             self.assertEqual(expectedSensitive, len(a))
 
+        # SpecificCharacterSet = ISO_IR 100 (Latin1), PatientName=Test-éüäöò
         UploadInstance(_REMOTE, 'Encodings/Lena-latin1.dcm')
 
         # WildcardConstraint