Skip to content

Commit

Permalink
TEST: assert that credentials.get_frozen_credentials is a coroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-kulkarni committed Jul 21, 2023
1 parent 38a4fd2 commit 64cbc53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/providers/amazon/aws/hooks/test_base_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ def side_effect():
# It shouldn't be 'explicit' which refers in this case to initial credentials.
credentials = await session.get_credentials()

assert inspect.iscoroutinefunction(credentials._refresh)
assert inspect.iscoroutinefunction(credentials.get_frozen_credentials)

assert credentials.method == "sts-assume-role"


Expand Down

0 comments on commit 64cbc53

Please sign in to comment.