Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add aws_credentials to test_get_client
Browse files Browse the repository at this point in the history
  • Loading branch information
knakazawa99 committed Jan 24, 2024
1 parent 0d04479 commit cb36769
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_glue_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ def test_watch_job_fail(aws_credentials, glue_job_client):
def test_get_client(aws_credentials):
with mock_glue():
glue_job_run = GlueJobRun(
job_name="test_job_name", arguments={"arg1": "value1"}
job_name="test_job_name",
arguments={"arg1": "value1"},
aws_credentials=aws_credentials,
)
glue_job_run._get_client()
assert hasattr(glue_job_run.client, "get_job_run")
Expand Down

0 comments on commit cb36769

Please sign in to comment.