Skip to content

Commit

Permalink
fix mock assertion arg vs kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
briantist committed Jul 22, 2023
1 parent f86c732 commit 6bf5d9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def test_auth_azure_validate_use_user_managed_identity(
credential.get_token.return_value.token = jwt
auth_azure.validate()

mocked_credential_class.assert_called_once_with(azure_client_id)
mocked_credential_class.assert_called_once_with(client_id=azure_client_id)
credential.get_token.assert_called_once_with(
'https://management.azure.com//.default'
)
Expand Down

0 comments on commit 6bf5d9f

Please sign in to comment.