Skip to content

Commit

Permalink
fix(job_attachments): fix integration test exception
Browse files Browse the repository at this point in the history
  • Loading branch information
chocecil committed Apr 12, 2024
1 parent 7fcf845 commit 3ae6508
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 3ae6508

Please sign in to comment.