mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
test: add comment about parsing text in session file test
This commit is contained in:
parent
6dc0b8d853
commit
a876561ea0
1 changed files with 1 additions and 0 deletions
|
@ -728,6 +728,7 @@ class TestCommands(TestCase):
|
||||||
self.assertTrue(Path(session_file).exists())
|
self.assertTrue(Path(session_file).exists())
|
||||||
with open(session_file, encoding=io.encoding) as f:
|
with open(session_file, encoding=io.encoding) as f:
|
||||||
commands_text = f.read()
|
commands_text = f.read()
|
||||||
|
#ai: parse the text and check for os.path.samefile()!
|
||||||
self.assertIn("/add file1.txt", commands_text)
|
self.assertIn("/add file1.txt", commands_text)
|
||||||
self.assertIn(f"/read-only {external_file_path}", commands_text)
|
self.assertIn(f"/read-only {external_file_path}", commands_text)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue