# HG changeset patch # User Alain Mazy # Date 1724677435 -7200 # Node ID 00e4bb782fa5f7855c427269db541d00acf8868a # Parent c26163577c915af9c697b16f48685c49368d7566 fix diff -r c26163577c91 -r 00e4bb782fa5 Plugins/DicomWeb/Run.py --- a/Plugins/DicomWeb/Run.py Mon Aug 26 12:36:10 2024 +0200 +++ b/Plugins/DicomWeb/Run.py Mon Aug 26 15:03:55 2024 +0200 @@ -315,7 +315,8 @@ self.assertEqual(l, len(r)) self.assertEqual("0a9b3153-2512774b-2d9580de-1fc3dcf6-3bd83918", r['Resources']['Studies'][0]) - self.assertEqual("sample", r['Server']) + if IsPluginVersionAbove(ORTHANC, "dicom-web", 1, 18, 0): + self.assertEqual("sample", r['Server']) # series r = DoPost(ORTHANC, '/dicom-web/servers/sample/stow',