# HG changeset patch # User Sebastien Jodogne # Date 1624514545 -7200 # Node ID 07fbbd3a3fac22640ae5f9976c77edc728b43ee7 # Parent 6a57c4efe38a8f7edc43e9b4944d452bfb9ee7ce fix diff -r 6a57c4efe38a -r 07fbbd3a3fac Tests/Tests.py --- a/Tests/Tests.py Wed Jun 23 16:02:08 2021 +0200 +++ b/Tests/Tests.py Thu Jun 24 08:02:25 2021 +0200 @@ -7047,9 +7047,10 @@ tags2021b = GetTags(study, { 'DicomVersion' : '2021b' }) tagsDefault = GetTags(study, {}) - self.assertEqual('Orthanc mainline - PS 3.15-2008 Table E.1-1', tags2008['0012,0063']) - self.assertEqual('Orthanc mainline - PS 3.15-2017c Table E.1-1 Basic Profile', tags2017c['0012,0063']) - self.assertEqual('Orthanc mainline - PS 3.15-2021b Table E.1-1 Basic Profile', tags2021b['0012,0063']) + orthancVersion = DoGet(_REMOTE, '/system') ['Version'] + self.assertEqual('Orthanc %s - PS 3.15-2008 Table E.1-1' % orthancVersion, tags2008['0012,0063']) + self.assertEqual('Orthanc %s - PS 3.15-2017c Table E.1-1 Basic Profile' % orthancVersion, tags2017c['0012,0063']) + self.assertEqual('Orthanc %s - PS 3.15-2021b Table E.1-1 Basic Profile' % orthancVersion, tags2021b['0012,0063']) self.assertEqual(tagsDefault['0012,0063'], tags2021b['0012,0063']) for t in [ tags2008, tags2017c, tags2021b, tagsDefault ]: