AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix test_search_files for windows (#3073)
k-boikov3886afc82582
diff --git a/tests/unit/test_file_operations.py b/tests/unit/test_file_operations.pyindex 35f9b91a21..c3b20d0c5a 100644--- a/tests/unit/test_file_operations.py+++ b/tests/unit/test_file_operations.py@@ -110,7 +110,7 @@ class TestFileOperations(unittest.TestCase):files = search_files(str(self.workspace.root))self.assertIn(file_a.name, files)self.assertIn(file_b.name, files)- self.assertIn(f"{Path(self.test_directory).name}/{file_a.name}", files)+ self.assertIn(os.path.join(Path(self.test_directory).name, file_a.name), files)# Clean upos.remove(file_a)