comparison Plugins/DicomWeb/Run.py @ 683:0c99f2aa7c53

note
author Alain Mazy <am@orthanc.team>
date Fri, 06 Sep 2024 17:18:30 +0200
parents 85c1447fa86b
children 7282c2df963d
comparison
equal deleted inserted replaced
682:3476dc32c39b 683:0c99f2aa7c53
1370 self.assertEqual(2, len(a[0])) 1370 self.assertEqual(2, len(a[0]))
1371 self.assertEqual('%s%s/frames/1' % (ORTHANC['Url'], uri), 1371 self.assertEqual('%s%s/frames/1' % (ORTHANC['Url'], uri),
1372 a[0][1]['Content-Location']) 1372 a[0][1]['Content-Location'])
1373 self.assertEqual(ACCEPT[syntax], 1373 self.assertEqual(ACCEPT[syntax],
1374 'multipart/related; type=%s' % a[0][1]['Content-Type']) 1374 'multipart/related; type=%s' % a[0][1]['Content-Type'])
1375 if IS_GDCM: 1375 if IS_GDCM: # !!! NOTE: these tests might fail if GDCM is not used to transcode ALL transfer syntaxes. And, from v1.8, the default configuration handles only JP2K
1376 self.assertEqual({ 1376 self.assertEqual({
1377 '1.2.840.10008.1.2' : '1c8cebde0c74450ce4dfb75dd52ddad7', 1377 '1.2.840.10008.1.2' : '1c8cebde0c74450ce4dfb75dd52ddad7',
1378 '1.2.840.10008.1.2.1' : '1c8cebde0c74450ce4dfb75dd52ddad7', 1378 '1.2.840.10008.1.2.1' : '1c8cebde0c74450ce4dfb75dd52ddad7',
1379 '1.2.840.10008.1.2.4.50' : 'f4d145e5f33fbd39375ce0f91453d6cc', 1379 '1.2.840.10008.1.2.4.50' : 'f4d145e5f33fbd39375ce0f91453d6cc',
1380 '1.2.840.10008.1.2.4.51' : 'f4d145e5f33fbd39375ce0f91453d6cc', 1380 '1.2.840.10008.1.2.4.51' : 'f4d145e5f33fbd39375ce0f91453d6cc',