mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
refactor: Remove unused call import and rename loop variable
This commit is contained in:
parent
32eb365a0b
commit
76988b746f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class TestModels(unittest.TestCase):
|
|||
) # Should return True because there's a problem with the editor model
|
||||
mock_io.tool_warning.assert_called_with(ANY) # Ensure a warning was issued
|
||||
|
||||
warning_messages = [call.args[0] for call in mock_io.tool_warning.call_args_list]
|
||||
warning_messages = [warning_call.args[0] for warning_call in mock_io.tool_warning.call_args_list]
|
||||
print("Warning messages:", warning_messages) # Add this line
|
||||
|
||||
self.assertGreaterEqual(mock_io.tool_warning.call_count, 1) # Expect two warnings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue