-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More accurate orthanc-anon system test (#272)
* Set STUDY_TIME_OFFSET in .env.test Required to run tests that hit pixl_dcmd. * Add PIXL_DB_* environment variables to orthanc_anon container pixl_dcmd needs these to persist anonmyised identifierst to postgres. * Change `_hash_values` to return a string instead of bytes. This fixes an error when trying to store the hash in the database and aligns with what the hasher endpoints return. * Improve orthanc-anon check The existing test script checked the orthanc-anon log for receipt of a DICOM but this was not catching that the received DICOM was not being stored due problems during anonymisation. The new check script queries the orthanc-anon API to make sure it has received and stored the test DICOMs. * Add license header * Account for responses from hasher being text * Correct types when logging the response Co-authored-by: Stef Piatek <[email protected]> * Clearer separation between header and documentation Co-authored-by: Stef Piatek <[email protected]> * Attempt to satisfy the linter * Don't actually need interactive or TTY for the test --------- Co-authored-by: Stef Piatek <[email protected]>
- Loading branch information
1 parent
0df7218
commit f0c33e0
Showing
7 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters