You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SG-20154 Add Retries on 503 Errors when uploading to S3 in Shotgun python-api (#263)
* Add the 503 retries in the internal function who maker the S3 uploads.
* Mock the S3 response with a expected HTTPError exception, for test 503 responses are retried when uploading to S3.
* Adding side_effect parameter to the mock object.
* Add comment in the _setup_mock() _make_upload_request definition.
* Rename test and add expected HTTPError exception error message to the assertion.
0 commit comments