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

Commit

Permalink
Fix failing CAE test
Browse files Browse the repository at this point in the history
  • Loading branch information
samwelkanda authored Sep 12, 2023
1 parent 2f6e49e commit ed71c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_httpx_request_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ async def test_retries_on_cae_failure(
resp = await request_adapter.get_http_response_message(request_info_mock, mock_otel_span)
assert isinstance(resp, httpx.Response)
calls = [
call(request_info_mock, None),
call(request_info_mock, {}),
call(request_info_mock, {'claims': 'eyJhY2Nlc3NfdG9rZW4iOnsibmJmIjp7ImVzc2VudGlhbCI6dHJ1ZSwgInZhbHVlIjoiMTYwNDEwNjY1MSJ9fX0'})
]
request_adapter._authentication_provider.authenticate_request.assert_has_awaits(calls)

0 comments on commit ed71c3f

Please sign in to comment.