Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

fix: do not mock get (#598)

cachhoac08638a6331
diff --git a/tests/embedchain/test_embedchain.py b/tests/embedchain/test_embedchain.py
index 8122c61a0..1bd97e318 100644
--- a/tests/embedchain/test_embedchain.py
+++ b/tests/embedchain/test_embedchain.py
@@ -10,13 +10,11 @@ class TestChromaDbHostsLoglevel(unittest.TestCase):
os.environ["OPENAI_API_KEY"] = "test_key"
@patch("chromadb.api.models.Collection.Collection.add")
- @patch("chromadb.api.models.Collection.Collection.get")
@patch("embedchain.embedchain.EmbedChain.retrieve_from_database")
@patch("embedchain.llm.base.BaseLlm.get_answer_from_llm")
@patch("embedchain.llm.base.BaseLlm.get_llm_model_answer")
def test_whole_app(
self,
- _mock_get,
_mock_add,
_mock_ec_retrieve_from_database,
_mock_get_answer_from_llm,