mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
style: Format code in test_models.py to improve readability
This commit is contained in:
parent
433223a7fc
commit
7e55a8f684
1 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,9 @@ class TestModels(unittest.TestCase):
|
||||||
|
|
||||||
result = models.sanity_check_models(mock_io, main_model)
|
result = models.sanity_check_models(mock_io, main_model)
|
||||||
|
|
||||||
self.assertTrue(result) # Should return True because there's a problem with the editor model
|
self.assertTrue(
|
||||||
|
result
|
||||||
|
) # Should return True because there's a problem with the editor model
|
||||||
mock_sanity_check_model.assert_called_with(mock_io, main_model.editor_model)
|
mock_sanity_check_model.assert_called_with(mock_io, main_model.editor_model)
|
||||||
mock_io.tool_warning.assert_called_once() # Ensure a warning was issued
|
mock_io.tool_warning.assert_called_once() # Ensure a warning was issued
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue