test: add comment about parsing text in session file test

This commit is contained in:
Paul Gauthier 2024-10-29 13:17:50 -07:00 committed by Paul Gauthier (aider)
parent 6dc0b8d853
commit a876561ea0

View file

@ -728,6 +728,7 @@ class TestCommands(TestCase):
self.assertTrue(Path(session_file).exists())
with open(session_file, encoding=io.encoding) as f:
commands_text = f.read()
#ai: parse the text and check for os.path.samefile()!
self.assertIn("/add file1.txt", commands_text)
self.assertIn(f"/read-only {external_file_path}", commands_text)