Skip to content

Commit f431b54

Browse files
committed
- Fixed ruff errors.
1 parent c07b7b9 commit f431b54

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/client/auth/test_enterprise_managed_auth_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@ async def test_exchange_token_with_client_authentication(sample_id_token, sample
553553
# Perform token exchange
554554
id_jag = await provider.exchange_token_for_id_jag(mock_client)
555555

556+
# Verify the ID-JAG was returned
557+
assert id_jag == sample_id_jag
558+
556559
# Verify client credentials were included
557560
call_args = mock_client.post.call_args
558561
assert call_args[1]["data"]["client_id"] == "test-client-id"
@@ -607,6 +610,9 @@ async def test_exchange_token_with_client_id_only(sample_id_token, sample_id_jag
607610
# Perform token exchange
608611
id_jag = await provider.exchange_token_for_id_jag(mock_client)
609612

613+
# Verify the ID-JAG was returned
614+
assert id_jag == sample_id_jag
615+
610616
# Verify client_id was included but NOT client_secret
611617
call_args = mock_client.post.call_args
612618
assert call_args[1]["data"]["client_id"] == "test-client-id"

0 commit comments

Comments
 (0)