mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
main should use argv if args not provided
This commit is contained in:
parent
c368e87c9f
commit
d44f732d3b
2 changed files with 11 additions and 4 deletions
|
@ -35,3 +35,4 @@ class TestMain(TestCase):
|
|||
sys.stdin = dev_null
|
||||
main(["--yes", "foo.txt"])
|
||||
sys.stdin = save_stdin
|
||||
self.assertTrue(os.path.exists("foo.txt"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue