From deae37e33bf00e4181e1ec32ce2534b169cf1aed Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sun, 5 Jul 2026 15:08:05 -0700 Subject: [PATCH] fix(tests): add missing json import in msgraph webhook test fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The salvaged #25296 fixture's _FakeRequest.read() calls json.dumps but the test module never imported json — the NameError was swallowed by the handler's generic except → 400, failing 10 payload tests. --- tests/gateway/test_msgraph_webhook.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/gateway/test_msgraph_webhook.py b/tests/gateway/test_msgraph_webhook.py index a731e9287da..ca9d603c697 100644 --- a/tests/gateway/test_msgraph_webhook.py +++ b/tests/gateway/test_msgraph_webhook.py @@ -1,6 +1,7 @@ """Tests for the Microsoft Graph webhook adapter.""" import asyncio +import json import pytest