From 5a7ddd08c89c3f8a57583785a54d7f0e8711b864 Mon Sep 17 00:00:00 2001 From: Cecilia Cho Date: Fri, 12 Apr 2024 23:25:34 +0000 Subject: [PATCH] fix(job_attachments): fix integration test exception Signed-off-by: Cecilia Cho --- .gitignore | 3 ++- test/integ/deadline_job_attachments/test_job_attachments.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 46088e85f..29d2b8b57 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ __pycache__/ *.swp *_version.py .attach_pid* -.DS_Store \ No newline at end of file +.DS_Store +.idea/ \ No newline at end of file diff --git a/test/integ/deadline_job_attachments/test_job_attachments.py b/test/integ/deadline_job_attachments/test_job_attachments.py index de48c5860..7199dbdcd 100644 --- a/test/integ/deadline_job_attachments/test_job_attachments.py +++ b/test/integ/deadline_job_attachments/test_job_attachments.py @@ -1333,7 +1333,7 @@ def test_upload_bucket_wrong_account(external_bucket: str, job_attachment_test: # WHEN with pytest.raises( - AssetSyncError, match=f"Error checking if object exists in bucket '{external_bucket}'" + JobAttachmentsS3ClientError, match=".*when calling the PutObject operation: Access Denied" ): upload_group = asset_manager.prepare_paths_for_upload( job_bundle_path=str(job_attachment_test.ASSET_ROOT),