From 39ab25a6ac94136966f06f1e8abc7849fbf177a4 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Fri, 11 Sep 2026 23:48:58 -0700 Subject: [PATCH] test(mem0): drop the inside-the-cap no-op case (salvage bar: 2 invariant tests) --- tests/plugins/memory/test_mem0_v3.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/plugins/memory/test_mem0_v3.py b/tests/plugins/memory/test_mem0_v3.py index 481cb399a8..d3e105ee96 100644 --- a/tests/plugins/memory/test_mem0_v3.py +++ b/tests/plugins/memory/test_mem0_v3.py @@ -206,11 +206,6 @@ class TestSyncTurnTruncation: text = "a" * 10 + "." + "b" * (cap * 2) assert mem0_plugin._truncate_for_sync(text) == text[:cap] - def test_a_message_inside_the_cap_is_never_touched(self): - cap = mem0_plugin._SYNC_MSG_MAX_CHARS - text = "Fine. Nothing to trim here! Really?" - assert len(text) <= cap and mem0_plugin._truncate_for_sync(text) == text - def test_sync_max_chars_config_raises_cap(self, monkeypatch, tmp_path): """8k-token embedders should not be stuck at the 512-token default (#106235).""" monkeypatch.setenv("HERMES_HOME", str(tmp_path))