From 3da3e194d60bb4f245b326f38726cc7c42360f4b Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 17 Oct 2026 20:18:53 +0000 Subject: [PATCH] test(router): use deterministic retry timestamp Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/unit/router_utils/test_fallback_event_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/router_utils/test_fallback_event_handlers.py b/tests/unit/router_utils/test_fallback_event_handlers.py index aaf32cb6e73..258961e0030 100644 --- a/tests/unit/router_utils/test_fallback_event_handlers.py +++ b/tests/unit/router_utils/test_fallback_event_handlers.py @@ -198,7 +198,7 @@ async def test_run_async_fallback_opens_the_hop_without_the_superseded_attempts_ ) logging_obj.model_call_details["custom_llm_provider"] = "openai" logging_obj.model_call_details["litellm_params"] = {"acompletion": True} - logging_obj.model_call_details["current_attempt_api_call_start_time"] = datetime.now() + logging_obj.model_call_details["current_attempt_api_call_start_time"] = datetime(2026, 1, 1) logging_obj.litellm_params = logging_obj.model_call_details["litellm_params"] partial_usage: Final = Usage(prompt_tokens=52, completion_tokens=1, total_tokens=53) logging_obj.record_partial_usage_for_failure(partial_usage, 0.01)