Skip to content

Commit

Permalink
fix mock Coder.send
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellis committed Jan 23, 2025
1 parent 83a273e commit 81e0284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/basic/test_scripting.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TestScriptingAPI(unittest.TestCase):
def test_basic_scripting(self, mock_send):
with GitTemporaryDirectory():
# Setup
def mock_send_side_effect(messages, functions=None):
def mock_send_side_effect(messages, model=None, functions=None):
coder.partial_response_content = "Changes applied successfully."
coder.partial_response_function_call = None
return "Changes applied successfully."
Expand Down

0 comments on commit 81e0284

Please sign in to comment.