Mercurial > hg > orthanc-tests
changeset 857:06a47d910cdf
fix spelling of DICOMWeb as DICOMweb
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Wed, 12 Nov 2025 13:18:37 +0100 |
| parents | ab360e15b792 |
| children | cbccd5b844da |
| files | NewTests/Authorization/test_authorization.py Plugins/DicomWeb/Run.py |
| diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/Authorization/test_authorization.py Thu Sep 18 16:00:10 2025 +0200 +++ b/NewTests/Authorization/test_authorization.py Wed Nov 12 13:18:37 2025 +0100 @@ -349,16 +349,16 @@ instances_ids = o.upload_file(here / "../../Database/Beaufix/IM-0001-0001.dcm") o_admin.instances.delete(orthanc_ids=instances_ids) - # uploader-a shall be able to upload a study through DICOMWeb too + # uploader-a shall be able to upload a study through DICOMweb too o.upload_files_dicom_web(paths = [here / "../../Database/Beaufix/IM-0001-0001.dcm"]) o_admin.instances.delete(orthanc_ids=instances_ids) if o_admin.is_plugin_version_at_least("authorization", 0, 9, 1): - # uploader-a shall not be able to upload a study through DICOMWeb using /dicom-web/studies/<StudyInstanceUID of label_b> + # uploader-a shall not be able to upload a study through DICOMweb using /dicom-web/studies/<StudyInstanceUID of label_b> self.assert_is_forbidden(lambda: o.upload_files_dicom_web(paths = [here / "../../Database/Knix/Loc/IM-0001-0002.dcm"], endpoint=f"/dicom-web/studies/{self.label_b_study_dicom_id}")) - # uploader-a shall be able to upload a study through DICOMWeb using /dicom-web/studies/<StudyInstanceUID of label_a> + # uploader-a shall be able to upload a study through DICOMweb using /dicom-web/studies/<StudyInstanceUID of label_a> o.upload_files_dicom_web(paths = [here / "../../Database/Knix/Loc/IM-0001-0002.dcm"], endpoint=f"/dicom-web/studies/{self.label_a_study_dicom_id}") # note that, uploader-a is allowed to upload to /dicom-web/studies without checking any labels :-()
--- a/Plugins/DicomWeb/Run.py Thu Sep 18 16:00:10 2025 +0200 +++ b/Plugins/DicomWeb/Run.py Wed Nov 12 13:18:37 2025 +0100 @@ -440,7 +440,7 @@ def test_bitbucket_issue_53(self): - # DICOMWeb plugin support for "limit" and "offset" parameters in QIDO-RS + # DICOMweb plugin support for "limit" and "offset" parameters in QIDO-RS # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=53 UploadInstance(ORTHANC, 'Brainix/Flair/IM-0001-0001.dcm')
