trustgraph/tests/unit/test_embeddings
Cyber MacGeddon 1cf0ec3056 Fix HF embeddings tests
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.
2026-06-01 12:33:57 +01:00
..
__init__.py Extending test coverage (#434) 2025-07-14 17:54:04 +01:00
conftest.py Extending test coverage (#434) 2025-07-14 17:54:04 +01:00
test_document_embeddings_processor.py feat: workspace-based multi-tenancy, replacing user as tenancy axis (#840) 2026-04-21 23:23:01 +01:00
test_embedding_logic.py Extending test coverage (#434) 2025-07-14 17:54:04 +01:00
test_embedding_utils.py Extending test coverage (#434) 2025-07-14 17:54:04 +01:00
test_embeddings_client.py Updated test suite for explainability & provenance (#696) 2026-03-13 14:27:42 +00:00
test_embeddings_service_contract.py Dynamic embeddings model (#556) 2025-11-10 20:38:01 +00:00
test_embeddings_service_request.py Updated test suite for explainability & provenance (#696) 2026-03-13 14:27:42 +00:00
test_fastembed_dynamic_model.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_graph_embeddings_processor.py feat: workspace-based multi-tenancy, replacing user as tenancy axis (#840) 2026-04-21 23:23:01 +01:00
test_huggingface_dynamic_model.py Fix HF embeddings tests 2026-06-01 12:33:57 +01:00
test_ollama_dynamic_model.py Fix Ollama async issue (#854) 2026-04-28 15:43:04 +01:00
test_row_embeddings_processor.py feat: workspace-based multi-tenancy, replacing user as tenancy axis (#840) 2026-04-21 23:23:01 +01:00