mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Initialize cur_messages and done_messages in ArchitectCoder test cases
This commit is contained in:
parent
42d45b4037
commit
c168f78a13
1 changed files with 6 additions and 0 deletions
|
@ -1073,6 +1073,8 @@ This command will print 'Hello, World!' to the console."""
|
||||||
coder.auto_accept_architect = True
|
coder.auto_accept_architect = True
|
||||||
coder.verbose = False
|
coder.verbose = False
|
||||||
coder.total_cost = 0
|
coder.total_cost = 0
|
||||||
|
coder.cur_messages = []
|
||||||
|
coder.done_messages = []
|
||||||
|
|
||||||
# Mock editor_coder creation and execution
|
# Mock editor_coder creation and execution
|
||||||
mock_editor = MagicMock()
|
mock_editor = MagicMock()
|
||||||
|
@ -1104,6 +1106,10 @@ This command will print 'Hello, World!' to the console."""
|
||||||
coder.auto_accept_architect = False
|
coder.auto_accept_architect = False
|
||||||
coder.verbose = False
|
coder.verbose = False
|
||||||
coder.total_cost = 0
|
coder.total_cost = 0
|
||||||
|
coder.cur_messages = []
|
||||||
|
coder.done_messages = []
|
||||||
|
coder.cur_messages = []
|
||||||
|
coder.done_messages = []
|
||||||
|
|
||||||
# Mock editor_coder creation and execution
|
# Mock editor_coder creation and execution
|
||||||
mock_editor = MagicMock()
|
mock_editor = MagicMock()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue