diff Tests/Toolbox.py @ 703:8b255268d79b

support mainline-xxx versions
author Alain Mazy <am@orthanc.team>
date Fri, 04 Oct 2024 08:50:29 +0200
parents 4567c3947f8a
children 0322fda1834e
line wrap: on
line diff
--- a/Tests/Toolbox.py	Thu Sep 26 12:27:52 2024 +0200
+++ b/Tests/Toolbox.py	Fri Oct 04 08:50:29 2024 +0200
@@ -344,7 +344,7 @@
 def IsOrthancVersionAbove(orthanc, major, minor, revision):
     v = DoGet(orthanc, '/system')['Version']
 
-    if v == 'mainline':
+    if v.startswith('mainline'):
         return True
     else:
         tmp = v.split('.')