Create functional tests for SonadorImagingServer bulk functions: anonymize, delete, create_archive
Merge request !26 includes methods which can be used to work with resources within Orthanc in bulk:
-
bulk_anonymize
: anonymize the DICOM patients, studies, series, and instances provided in the resources field. -
bulk_delete
: delete all specified DICOM patients, studies, series, and instances -
create_archive
: create a zip archive containing the DICOM resources (patients, studies, series, and instances)
The bulk methods need test cases within the functional test runner:
-
bulk_anonymize
: upload a known set of DICOM resources, invoke bulk anonymization, retrieve the anonymized resources, ensure that the identifiers have been removed, and new headers have been added. -
bulk_delete
: upload a known set of DICOM resources, invoke bulk deletion, verify that the resources have been removed from the server. -
create_archive
: upload a known set of DICOM resources, create archive file (include test cases for both synchronous and asynchronous calls), download the file, and verify that the archive contains all expected resources.