Skip to content

Commit

Permalink
fix(job_attachments): fix integration test exception (#298)
Browse files Browse the repository at this point in the history
Signed-off-by: Cecilia Cho <[email protected]>
  • Loading branch information
chocecil authored Apr 15, 2024
1 parent a62e0ae commit 3c700b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ __pycache__/
*.swp
*_version.py
.attach_pid*
.DS_Store
.DS_Store
.idea/
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 3c700b0

Please sign in to comment.