Mercurial > hg > orthanc-tests
changeset 643:aa11ab24ff3c
auth tests
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 11 Apr 2024 19:03:42 +0200 |
parents | 6f8443295ca8 |
children | 5806bd442a37 0daf680aa3cc |
files | NewTests/Authorization/test_authorization.py NewTests/requirements.txt |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/Authorization/test_authorization.py Sat Apr 06 17:32:05 2024 +0200 +++ b/NewTests/Authorization/test_authorization.py Thu Apr 11 19:03:42 2024 +0200 @@ -255,6 +255,9 @@ i = 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}") self.assert_is_forbidden(lambda: o.get_binary(f"dicom-web/studies/{self.label_b_study_dicom_id}/series/{self.label_b_series_dicom_id}/instances/{self.label_b_instance_dicom_id}")) + o.get_json(f"/system") + o.get_json(f"/plugins") + o.get_json(f"/plugins/dicom-web") def test_resource_token(self):