changeset 708:516fdac8027d

fix
author Alain Mazy <am@orthanc.team>
date Fri, 04 Oct 2024 14:30:19 +0200
parents 5bb854db51cf
children f21aedbf34f7
files Tests/Tests.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Tests.py	Fri Oct 04 09:00:34 2024 +0200
+++ b/Tests/Tests.py	Fri Oct 04 14:30:19 2024 +0200
@@ -8091,6 +8091,9 @@
         tagsDefault = GetTags(study, {})
 
         orthancVersion = DoGet(_REMOTE, '/system') ['Version']
+        if orthancVersion.startWith('mainline-'):  # happens in unstable orthancteam/orthanc images
+            orthancVersion = 'mainline'
+            
         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'])