mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
feat: add --yes flag to map tokens tests
This commit is contained in:
parent
07aa969860
commit
ce7cc137fb
1 changed files with 2 additions and 2 deletions
|
@ -379,7 +379,7 @@ class TestMain(TestCase):
|
||||||
with GitTemporaryDirectory():
|
with GitTemporaryDirectory():
|
||||||
with patch("aider.repomap.RepoMap") as MockRepoMap:
|
with patch("aider.repomap.RepoMap") as MockRepoMap:
|
||||||
main(
|
main(
|
||||||
["--model", "gpt-4", "--map-tokens", "0", "--exit"],
|
["--model", "gpt-4", "--map-tokens", "0", "--exit", "--yes"],
|
||||||
input=DummyInput(),
|
input=DummyInput(),
|
||||||
output=DummyOutput(),
|
output=DummyOutput(),
|
||||||
)
|
)
|
||||||
|
@ -389,7 +389,7 @@ class TestMain(TestCase):
|
||||||
with GitTemporaryDirectory():
|
with GitTemporaryDirectory():
|
||||||
with patch("aider.repomap.RepoMap") as MockRepoMap:
|
with patch("aider.repomap.RepoMap") as MockRepoMap:
|
||||||
main(
|
main(
|
||||||
["--model", "gpt-4", "--map-tokens", "1000", "--exit"],
|
["--model", "gpt-4", "--map-tokens", "1000", "--exit", "--yes"],
|
||||||
input=DummyInput(),
|
input=DummyInput(),
|
||||||
output=DummyOutput(),
|
output=DummyOutput(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue