From 9cf4286cee2084ae9fc847780e1c671c77140d79 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 11 Mar 2025 12:18:10 -0700 Subject: [PATCH] fix: Update test to handle lowercase token budget input --- tests/basic/test_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index 6ef4f8bcc..84d152127 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -1307,8 +1307,9 @@ class TestCommands(TestCase): ) # Check that the tool output shows the correct value with format + # Use the actual input_value (not normalized) in the assertion mock_tool_output.assert_any_call( - f"Set thinking token budget to {expected_tokens:,} tokens ({input_value})." + f"Set thinking token budget to {expected_tokens:,} tokens ({input_value.lower()})." ) # Test with no value provided - should display current value