style: Fix linter issues in test_scripting.py

This commit is contained in:
Paul Gauthier (aider) 2024-08-01 15:44:58 -03:00
parent a4b6dea54d
commit d2dc79978e

View file

@ -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