changeset 581:cbb9045e0ffa

more auth tests
author Alain Mazy <am@osimis.io>
date Tue, 12 Sep 2023 12:25:15 +0200
parents f4579c9ec73b
children 615201c822d8
files NewTests/Authorization/test_authorization.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NewTests/Authorization/test_authorization.py	Mon Sep 11 09:09:26 2023 +0200
+++ b/NewTests/Authorization/test_authorization.py	Tue Sep 12 12:25:15 2023 +0200
@@ -283,7 +283,12 @@
         # test with DicomWEB routes + sub-routes
         o.get_binary(f"dicom-web/studies/{self.label_a_study_dicom_id}")
         o.get_json(f"dicom-web/studies/{self.label_a_study_dicom_id}/metadata")
+        o.get_json(f"dicom-web/studies/{self.label_a_study_dicom_id}/series")
         o.get_binary(f"dicom-web/studies/{self.label_a_study_dicom_id}/series/{self.label_a_series_dicom_id}")
         o.get_json(f"dicom-web/studies/{self.label_a_study_dicom_id}/series/{self.label_a_series_dicom_id}/metadata")
         o.get_binary(f"dicom-web/studies/{self.label_a_study_dicom_id}/series/{self.label_a_series_dicom_id}/instances/{self.label_a_instance_dicom_id}")
         o.get_json(f"dicom-web/studies/{self.label_a_study_dicom_id}/series/{self.label_a_series_dicom_id}/instances/{self.label_a_instance_dicom_id}/metadata")
+        o.get_json(f"dicom-web/studies?StudyInstanceUID={self.label_a_study_dicom_id}")
+        o.get_json(f"dicom-web/studies?0020000D={self.label_a_study_dicom_id}")
+        o.get_json(f"dicom-web/series?0020000D={self.label_a_study_dicom_id}")
+        o.get_json(f"dicom-web/instances?0020000D={self.label_a_study_dicom_id}")