fix: add --no-gitignore flag to failing list-models tests

This commit is contained in:
Paul Gauthier (aider) 2025-03-25 14:30:13 -10:00
parent 820b925b78
commit 899972e22f

View file

@ -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(),
) )