Skip to content

The agent that grows with you

test(matrix): drop the three adapter knobs the pending-invite tests never read

kshitijk4poorf458cba71479
diff --git a/tests/gateway/test_matrix_pending_invite_auth.py b/tests/gateway/test_matrix_pending_invite_auth.py
index 024e84325ac..50e2375e724 100644
--- a/tests/gateway/test_matrix_pending_invite_auth.py
+++ b/tests/gateway/test_matrix_pending_invite_auth.py
@@ -31,9 +31,6 @@ def _make_adapter():
},
)
adapter = MatrixAdapter(config)
- adapter._text_batch_delay_seconds = 0
- adapter.handle_message = AsyncMock()
- adapter._startup_ts = time.time() - 10
adapter._allowed_user_ids = {"@alice:example.org"}
adapter._join_room_by_id = AsyncMock(return_value=True)
adapter._record_dm_room = AsyncMock()