mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
style: Fix linter issues in test_main.py
This commit is contained in:
parent
6146ea0189
commit
27a1d9e60f
1 changed files with 2 additions and 2 deletions
|
@ -401,12 +401,12 @@ class TestMain(TestCase):
|
||||||
with GitTemporaryDirectory():
|
with GitTemporaryDirectory():
|
||||||
test_file = "test_file.txt"
|
test_file = "test_file.txt"
|
||||||
Path(test_file).touch()
|
Path(test_file).touch()
|
||||||
|
|
||||||
coder = main(
|
coder = main(
|
||||||
["--read", test_file, "--exit", "--yes"],
|
["--read", test_file, "--exit", "--yes"],
|
||||||
input=DummyInput(),
|
input=DummyInput(),
|
||||||
output=DummyOutput(),
|
output=DummyOutput(),
|
||||||
return_coder=True,
|
return_coder=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
self.assertIn(str(Path(test_file).resolve()), coder.abs_read_only_fnames)
|
self.assertIn(str(Path(test_file).resolve()), coder.abs_read_only_fnames)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue