mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +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 GitTemporaryDirectory():
|
||||||
with patch("aider.coders.base_coder.RepoMap") as MockRepoMap:
|
with patch("aider.coders.base_coder.RepoMap") as MockRepoMap:
|
||||||
mock_repo_map = MagicMock()
|
mock_repo_map = MagicMock()
|
||||||
|
mock_repo_map.max_map_tokens = 1000 # Set a specific value
|
||||||
MockRepoMap.return_value = mock_repo_map
|
MockRepoMap.return_value = mock_repo_map
|
||||||
|
|
||||||
main(
|
main(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue