mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 22:04:59 +00:00
chore: Run the linter
This commit is contained in:
parent
710484386a
commit
7ef1b21a3f
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ class TestModels(unittest.TestCase):
|
|||
@patch("aider.models.safe_write_json")
|
||||
@patch("requests.get")
|
||||
@patch("aider.models.Path.mkdir")
|
||||
def test_get_model_info(self, mock_mkdir, mock_get, mock_write_json, mock_read_json, mock_stat, mock_home):
|
||||
def test_get_model_info(
|
||||
self, mock_mkdir, mock_get, mock_write_json, mock_read_json, mock_stat, mock_home
|
||||
):
|
||||
# Setup
|
||||
mock_home.return_value = Path("/mock/home")
|
||||
mock_stat.return_value = unittest.mock.Mock(st_mtime=time.time() - 86400 * 2) # 2 days old
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue