Skip to content

Commit

Permalink
fix: Mock STS calls for some JA upload tests (#229)
Browse files Browse the repository at this point in the history
Signed-off-by: Caden Marofke <marofke@amazon.com>
  • Loading branch information
marofke authored Mar 22, 2024
1 parent 143cc6c commit 119aabd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/deadline_job_attachments/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -2348,6 +2348,7 @@ def test_separate_files_by_size(
)
assert actual_queues == expected_queues

@mock_sts
@pytest.mark.parametrize(
"manifest_version",
[
Expand Down Expand Up @@ -2395,6 +2396,7 @@ def test_upload_object_to_cas_skips_upload_with_cache(
assert file_size == 5
s3_cache.put_entry.assert_not_called()

@mock_sts
@pytest.mark.parametrize(
"manifest_version",
[
Expand Down

0 comments on commit 119aabd

Please sign in to comment.