mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 20:35:00 +00:00
fix: add --no-gitignore flag to failing list-models tests
This commit is contained in:
parent
820b925b78
commit
899972e22f
1 changed files with 2 additions and 1 deletions
|
@ -1129,6 +1129,7 @@ class TestMain(TestCase):
|
||||||
"--model-metadata-file",
|
"--model-metadata-file",
|
||||||
str(metadata_file),
|
str(metadata_file),
|
||||||
"--yes",
|
"--yes",
|
||||||
|
"--no-gitignore",
|
||||||
],
|
],
|
||||||
input=DummyInput(),
|
input=DummyInput(),
|
||||||
output=DummyOutput(),
|
output=DummyOutput(),
|
||||||
|
@ -1176,7 +1177,7 @@ class TestMain(TestCase):
|
||||||
# Capture stdout to check the output
|
# Capture stdout to check the output
|
||||||
with patch("sys.stdout", new_callable=StringIO) as mock_stdout:
|
with patch("sys.stdout", new_callable=StringIO) as mock_stdout:
|
||||||
main(
|
main(
|
||||||
["--list-models", "special", "--yes"],
|
["--list-models", "special", "--yes", "--no-gitignore"],
|
||||||
input=DummyInput(),
|
input=DummyInput(),
|
||||||
output=DummyOutput(),
|
output=DummyOutput(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue