Mercurial > hg > orthanc-tests
changeset 500:5386dfd854b3
fix
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 11 Oct 2022 11:06:47 +0200 |
parents | 9a6fa1ffb23a |
children | 1b1bb8621021 |
files | Tests/Tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Tests/Tests.py Mon Oct 10 14:35:56 2022 +0200 +++ b/Tests/Tests.py Tue Oct 11 11:06:47 2022 +0200 @@ -6318,7 +6318,7 @@ self.assertRaises(Exception, lambda: Modify('series', i['ParentSeries'], {'StudyInstanceUID': '1.3'}, force=False, keepSource=True)) self.assertRaises(Exception, lambda: Modify('instances', i['ID'], {'SeriesInstanceUID': '1.2'}, force=False, keepSource=True)) - if IsOrthancVersionAbove(_REMOTE, 1, 11, 2): + if IsOrthancVersionAbove(_REMOTE, 1, 11, 3): # this was forbidden even with Force=true till 1.11.2 included Modify('studies', i['ParentStudy'], {'PatientID': 'NEW'}, force=True, keepSource=True) Modify('series', i['ParentSeries'], {'StudyInstanceUID': '1.3'}, force=True, keepSource=True)