From ed71c3f945cee8f40a98061ce090292216e94954 Mon Sep 17 00:00:00 2001 From: Samwel K <40166690+samwelkanda@users.noreply.github.com> Date: Tue, 12 Sep 2023 16:14:18 +0300 Subject: [PATCH] Fix failing CAE test --- tests/test_httpx_request_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_httpx_request_adapter.py b/tests/test_httpx_request_adapter.py index dee2b8e..ef3ad34 100644 --- a/tests/test_httpx_request_adapter.py +++ b/tests/test_httpx_request_adapter.py @@ -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)