mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
style: Format code with linter in test_models.py
This commit is contained in:
parent
aef2b95d41
commit
85399bd6e2
1 changed files with 2 additions and 0 deletions
|
@ -15,11 +15,13 @@ class TestModels(unittest.TestCase):
|
|||
def setUp(self):
|
||||
"""Reset MODEL_SETTINGS before each test"""
|
||||
from aider.models import MODEL_SETTINGS
|
||||
|
||||
self._original_settings = MODEL_SETTINGS.copy()
|
||||
|
||||
def tearDown(self):
|
||||
"""Restore original MODEL_SETTINGS after each test"""
|
||||
from aider.models import MODEL_SETTINGS
|
||||
|
||||
MODEL_SETTINGS.clear()
|
||||
MODEL_SETTINGS.extend(self._original_settings)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue