Skip to content

The agent that grows with you

test(tui): pin replay detachment by behaviour, not storage layout

kshitijk4poor34a412846385
diff --git a/tests/tui_gateway/test_tui_gateway_event_replay.py b/tests/tui_gateway/test_tui_gateway_event_replay.py
index ead8546b8ba..e7e22fad106 100644
--- a/tests/tui_gateway/test_tui_gateway_event_replay.py
+++ b/tests/tui_gateway/test_tui_gateway_event_replay.py
@@ -79,7 +79,6 @@ def test_replay_snapshot_is_detached_from_live_event_mutation():
(replayed,) = events_since("s1", 0)
assert replayed["payload"]["result"] == "small"
assert replay_stats()["bytes"] == retained
- assert isinstance(event_replay._replay_buffers["s1"][0][1], bytes)
def test_each_replay_read_returns_an_independent_event_graph():
@@ -92,8 +91,6 @@ def test_each_replay_read_returns_an_independent_event_graph():
(second,) = events_since("s1", 0)
assert second["payload"]["nested"]["value"] == "original"
- assert first is not second
- assert first["payload"] is not second["payload"]
def test_events_since_returns_client_dispatchable_event_objects():