🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
fix: remove not used pytest
Wendongbf1f2a6d90bc
diff --git a/test/retrievers/test_auto_retriever.py b/test/retrievers/test_auto_retriever.pyindex bb995b8de..5b9a9bfae 100644--- a/test/retrievers/test_auto_retriever.py+++ b/test/retrievers/test_auto_retriever.py@@ -13,8 +13,6 @@# =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. ===========import osimport shutil-from datetime import datetime-from unittest.mock import patchimport pytest@@ -50,23 +48,6 @@ def test__initialize_vector_storage(auto_retriever):assert isinstance(storage_custom, QdrantStorage)-def test_get_file_modified_date_from_file(auto_retriever):- with patch('os.path.getmtime') as mocked_getmtime:- mocked_getmtime.return_value = 1234567890- mod_date = auto_retriever._get_file_modified_date_from_file(- "/path/to/file"- )- expected_date = datetime.fromtimestamp(1234567890).strftime(- '%Y-%m-%dT%H:%M:%S'- )- assert mod_date == expected_date-- with pytest.raises(FileNotFoundError):- auto_retriever._get_file_modified_date_from_file(- "/path/to/nonexistent/file"- )--def test_run_vector_retriever(auto_retriever):# Define mock data for testingquery_unrealted = "unrelated query"