From a9ef3cd18cbec175a72f663956fef5a402eee81f Mon Sep 17 00:00:00 2001 From: LeeJuOh Date: Sat, 7 Mar 2026 14:06:39 +0900 Subject: [PATCH] test(budget): validate warning message content in timezone fallback test --- tests/test_litellm/litellm_core_utils/test_duration_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_litellm/litellm_core_utils/test_duration_parser.py b/tests/test_litellm/litellm_core_utils/test_duration_parser.py index 27b47d833db..e7c9c80cb4c 100644 --- a/tests/test_litellm/litellm_core_utils/test_duration_parser.py +++ b/tests/test_litellm/litellm_core_utils/test_duration_parser.py @@ -191,6 +191,7 @@ class TestStandardizedResetTime(unittest.TestCase): with patch("litellm.litellm_core_utils.duration_parser.verbose_logger") as mock_logger: get_next_standardized_reset_time("1d", base_time, "NonExistentTimeZone") mock_logger.warning.assert_called_once() + assert "NonExistentTimeZone" in mock_logger.warning.call_args.args[1] if __name__ == "__main__":