mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: Fix linter issues in test_scripting.py
This commit is contained in:
parent
a4b6dea54d
commit
d2dc79978e
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
from unittest.mock import patch
|
||||
from pathlib import Path
|
||||
from unittest.mock import patch
|
||||
|
||||
from aider.coders import Coder
|
||||
from aider.io import InputOutput
|
||||
|
@ -33,7 +33,8 @@ class TestScriptingAPI(unittest.TestCase):
|
|||
# Assertions
|
||||
self.assertEqual(mock_send.call_count, 2)
|
||||
mock_send.assert_any_call(
|
||||
[{"role": "user", "content": "make a script that prints hello world"}], functions=None
|
||||
[{"role": "user", "content": "make a script that prints hello world"}],
|
||||
functions=None,
|
||||
)
|
||||
mock_send.assert_any_call(
|
||||
[{"role": "user", "content": "make it say goodbye"}], functions=None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue