mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 12:55:00 +00:00
test: fix mock model name setup in co-authored-by test
This commit is contained in:
parent
eb28e22891
commit
192f8bec26
1 changed files with 2 additions and 1 deletions
|
@ -236,7 +236,8 @@ class TestRepo(unittest.TestCase):
|
|||
mock_coder.args.attribute_commit_message_author = False
|
||||
mock_coder.args.attribute_commit_message_committer = False
|
||||
# Set the model name correctly on the nested mock
|
||||
mock_coder.model = MagicMock(name="gpt-test")
|
||||
mock_coder.model = MagicMock()
|
||||
mock_coder.model.configure_mock(name="gpt-test")
|
||||
|
||||
|
||||
io = InputOutput()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue