mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04: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
|
import unittest
|
||||||
from unittest.mock import patch
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from unittest.mock import patch
|
||||||
|
|
||||||
from aider.coders import Coder
|
from aider.coders import Coder
|
||||||
from aider.io import InputOutput
|
from aider.io import InputOutput
|
||||||
|
@ -33,7 +33,8 @@ class TestScriptingAPI(unittest.TestCase):
|
||||||
# Assertions
|
# Assertions
|
||||||
self.assertEqual(mock_send.call_count, 2)
|
self.assertEqual(mock_send.call_count, 2)
|
||||||
mock_send.assert_any_call(
|
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(
|
mock_send.assert_any_call(
|
||||||
[{"role": "user", "content": "make it say goodbye"}], functions=None
|
[{"role": "user", "content": "make it say goodbye"}], functions=None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue