mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 13:54:59 +00:00
copy
This commit is contained in:
parent
e33e9c44bb
commit
33b45b68e2
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class TestModels(unittest.TestCase):
|
|||
result
|
||||
) # 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
|
||||
self.assertEqual(mock_io.tool_warning.call_count, 2) # Expect two warnings
|
||||
self.assertGreaterEqual(mock_io.tool_warning.call_count, 2) # Expect two warnings
|
||||
warning_messages = [call.args[0] for call in mock_io.tool_warning.call_args_list]
|
||||
self.assertTrue(
|
||||
any("bogus-model" in msg for msg in warning_messages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue