mirror of
https://github.com/Aider-AI/aider
synced 2026-04-26 01:25:17 +02:00
style: Fix linter issues in test_scripting.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user