mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Set mock_repo_map.max_map_tokens to 1000 in test_sonnet_and_cache_options
This commit is contained in:
parent
2513e36104
commit
cc2b48bef8
1 changed files with 1 additions and 0 deletions
|
@ -519,6 +519,7 @@ class TestMain(TestCase):
|
|||
with GitTemporaryDirectory():
|
||||
with patch("aider.coders.base_coder.RepoMap") as MockRepoMap:
|
||||
mock_repo_map = MagicMock()
|
||||
mock_repo_map.max_map_tokens = 1000 # Set a specific value
|
||||
MockRepoMap.return_value = mock_repo_map
|
||||
|
||||
main(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue