Skip to content

Commit 04ffe5a

Browse files
committed
- Fixed the failing test cases.
1 parent 8214778 commit 04ffe5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/client/auth/test_enterprise_managed_auth_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ async def test_exchange_token_with_client_info_but_no_client_id(
10351035

10361036
# Verify client_id was not included (None), but client_secret was included
10371037
call_args = mock_client.post.call_args
1038-
assert "client_id" not in call_args[1]["data"]
1038+
assert call_args[1]["data"]["client_id"] is None
10391039
assert call_args[1]["data"]["client_secret"] == "test-secret"
10401040

10411041

@@ -1102,7 +1102,7 @@ async def test_exchange_id_jag_with_client_info_but_no_client_id(
11021102

11031103
# Verify client_id was not included (None), but client_secret was included
11041104
call_args = mock_client.post.call_args
1105-
assert "client_id" not in call_args[1]["data"]
1105+
assert call_args[1]["data"]["client_id"] is None
11061106
assert call_args[1]["data"]["client_secret"] == "test-secret"
11071107

11081108

0 commit comments

Comments
 (0)