mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
fix: Remove redundant assertion from test cases
This commit is contained in:
parent
0a05f7efd7
commit
5481d4385e
1 changed files with 0 additions and 2 deletions
|
@ -42,7 +42,6 @@ class TestModels(unittest.TestCase):
|
|||
|
||||
mock_io.tool_error.assert_called()
|
||||
calls = mock_io.tool_error.call_args_list
|
||||
self.assertIn("Model test-model: Environment variables status:", str(calls))
|
||||
self.assertIn("- API_KEY1: ✓ Set", str(calls))
|
||||
self.assertIn("- API_KEY2: ✓ Set", str(calls))
|
||||
|
||||
|
@ -60,7 +59,6 @@ class TestModels(unittest.TestCase):
|
|||
|
||||
mock_io.tool_error.assert_called()
|
||||
calls = mock_io.tool_error.call_args_list
|
||||
self.assertIn("Model test-model: Environment variables status:", str(calls))
|
||||
self.assertIn("- API_KEY1: ✗ Not set", str(calls))
|
||||
self.assertIn("- API_KEY2: ✗ Not set", str(calls))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue