fix(lint): remove unused import and variable in E2E tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
utkarsh240799
2026-03-20 15:09:37 +05:30
parent 1b15d9dccb
commit d34394ff77
+2 -2
View File
@@ -21,7 +21,7 @@ from unittest.mock import MagicMock, patch
import age
from mem0.memory.apache_age_memory import MemoryGraph, _cosine_similarity
from mem0.memory.apache_age_memory import MemoryGraph # noqa: E402
# -- E2E test configuration ---------------------------------------------------
@@ -507,7 +507,7 @@ class TestAddEntities:
# Now add an entity where source="alice" — should merge to existing
self.mg.threshold = 0.99 # high threshold, but same embedding = exact match
result = self.mg._add_entities(
self.mg._add_entities(
[{"source": "alice", "destination": "carol", "relationship": "LIKES"}],
{"user_id": "u1"},
entity_type_map={"alice": "person", "carol": "person"},