From 4f0e02c67e411c4213bbfca6ff2b066977385e23 Mon Sep 17 00:00:00 2001 From: Alex Kroman <12372+alexkroman@users.noreply.github.com> Date: Fri, 12 Jun 2026 11:16:23 -0700 Subject: [PATCH] Apply suggested fix to tests/test_webhook_listen.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- tests/test_webhook_listen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_webhook_listen.py b/tests/test_webhook_listen.py index 41843264..967b8ef8 100644 --- a/tests/test_webhook_listen.py +++ b/tests/test_webhook_listen.py @@ -93,7 +93,7 @@ def test_listen_human_mode_prints_hint_and_event_line(): assert "--webhook-url" in result.output # the copy-paste hint assert "t_9" in result.output assert "status=error" in result.output - assert "{" not in result.output.replace('{"ok": true}', "") # no NDJSON in human mode + assert not any(line.startswith("{") for line in result.output.splitlines()) # no NDJSON in human mode # --- forwarding --------------------------------------------------------------------