From ad94e49ef51124ae46ff9d6464279dce3e98781e Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 29 Oct 2024 14:02:35 -0700 Subject: [PATCH] test: fix failing test cases for save and load commands --- tests/basic/test_commands.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index f5d23e0b3..ad420f702 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -1,3 +1,10 @@ +#ai fix these test errors; ignore the extra spaces! +FAILED tests/basic/test_commands.py::TestCommands::test_cmd_save_and_load - FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/49/kxrdwwbx0h9bchx99397477c0000gn/T... +FAILED tests/basic/test_commands.py::TestCommands::test_cmd_save_and_load_with_external_file - AssertionError: '/add file1.txt' not found in '/add file1.txt\n/read-only /private/var/folders/49/kxrdwwbx0... +FAILED tests/basic/test_commands.py::TestCommands::test_cmd_save_and_load_with_multiple_external_files - AssertionError: '/add internal1.txt' not found in '/add internal1.txt\n/read-only /private/var/folders/49/k... + +### + import codecs import os import shutil