changeset 996:110e0f44fabd

skip latest test for older Orthanc versions (cont - no comment)
author Alain Mazy <am@orthanc.team>
date Thu, 05 Nov 2026 08:29:47 +0100
parents ce1efc9071ae
children d2744c40b872
files Tests/Tests.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Tests.py	Wed Nov 04 19:13:48 2026 +0100
+++ b/Tests/Tests.py	Thu Nov 05 08:29:47 2026 +0100
@@ -12985,7 +12985,7 @@
 
 
     def test_modify_specific_characterset_should_keep_other_characters_untouched(self):
-        if IsOrthancVersionAbove(_REMOTE, 1, 13, 1):
+        if not IsOrthancVersionAbove(_REMOTE, 1, 13, 1):
             self.skipTest("SpecificCharacterSet modification can only be tested with 1.13.1+")
         
         # based on https://github.com/orthanc-server/orthanc-explorer-2/issues/123
@@ -13043,7 +13043,7 @@
         self.assertIn(b'ISO_IR 166', raw_file_content)
 
     def test_make_sure_pn_can_hold_more_than_64_bytes(self):
-        if IsOrthancVersionAbove(_REMOTE, 1, 13, 1):
+        if not IsOrthancVersionAbove(_REMOTE, 1, 13, 1):
             self.skipTest("PN max size can only be tested with 1.13.1+")
 
         # based on https://github.com/orthanc-server/orthanc-explorer-2/issues/123