Skip to content

Commit

Permalink
fix: do not mock get (mem0ai#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
cachho committed Sep 12, 2023
1 parent 0314694 commit ac08638
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/embedchain/test_embedchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ac08638

Please sign in to comment.