mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-10 23:35:14 +02:00
The tests were patching trustgraph.embeddings.hf.hf.HuggingFaceEmbeddings - a module-level attribute that doesn't exist because HuggingFaceEmbeddings is imported locally inside _load_model. Changed all 8 occurrences to patch langchain_huggingface.HuggingFaceEmbeddings, which is the actual import source the code uses at runtime. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_document_embeddings_processor.py | ||
| test_embedding_logic.py | ||
| test_embedding_utils.py | ||
| test_embeddings_client.py | ||
| test_embeddings_service_contract.py | ||
| test_embeddings_service_request.py | ||
| test_fastembed_dynamic_model.py | ||
| test_graph_embeddings_processor.py | ||
| test_huggingface_dynamic_model.py | ||
| test_ollama_dynamic_model.py | ||
| test_row_embeddings_processor.py | ||