# HG changeset patch # User Alain Mazy # Date 1705997306 -3600 # Node ID 8fb9b5cd0f4f2632754197106e8dfc148de8def1 # Parent 75244cf58a6df299c00d81f3718b65cccac548ee fix diff -r 75244cf58a6d -r 8fb9b5cd0f4f Tests/Tests.py --- a/Tests/Tests.py Mon Jan 22 17:12:08 2024 +0100 +++ b/Tests/Tests.py Tue Jan 23 09:08:26 2024 +0100 @@ -10103,8 +10103,7 @@ self.assertEqual(0, len(modifiedStudy["Labels"])) self.assertEqual('modified', modifiedStudy["PatientMainDicomTags"]["PatientName"]) - if IsOrthancVersionAbove(_REMOTE, 1, 12, 3): - + if IsOrthancVersionAbove(_REMOTE, 1, 12, 3) and DoGet(_REMOTE, '/system')['ApiVersion'] >= 23: for testId in range(1, 2): #test with a single instance study and a multi instance study originalPatient, originalStudy, originalSeries, originalInstance = UploadAndLabel(testId)