Files
mempalace/tests
mvalentsev cab41c8a75 test(hooks): use hook.get("type") for graceful assert message
A direct ``hook["type"]`` subscript raised ``KeyError`` before the
assert evaluated when the ``"type"`` key was missing, so the
diagnostic message naming the event and the unexpected value was
never shown. ``hook.get("type")`` lets the assert fail gracefully
with the intended feedback.
2026-05-13 22:53:48 +05:00
..