python/run_push_imaging_files_to_s3_pipeline.py #1241
Labels
27.0-testing
Area: CI
PR or issue related to continuous integration, including automated tests and static checks
Implement automated testing
run
run_push_imaging_files_to_s3_pipeline.py -p database_config.py
without the-u
=> should print
[ERROR ] argument --upload_id is required
run
run_push_imaging_files_to_s3_pipeline.py -p database_config.py -u <UPLOAD ID>
on an invalid Upload ID=> should print
[ERROR ] Did not find an entry in mri_upload associated with 'UploadID' 1666
run
run_push_imaging_files_to_s3_pipeline.py -p database_config.py -u <UPLOAD ID>
with the S3 config settings not set indatabase_config.py
run
run_push_imaging_files_to_s3_pipeline.py -p database_config.py -u <UPLOAD ID>
with incorrect S3 authentication settings indatabase_config.py
run
run_push_imaging_files_to_s3_pipeline.py -p database_config.py -u <UPLOAD ID>
with the incorrect S3 bucket name indatabase_config.py
Manual testing
run
run_push_imaging_files_to_s3_pipeline.py -h
=> should print the help of the script. Make sure the help documentation is up to date.
run
run_push_imaging_files_to_s3_pipeline.py -p database_config.py -u <UPLOAD ID>
on a valid Upload ID and ensure the files has been properly pushed to the S3 bucketBugs found:
The text was updated successfully, but these errors were encountered: