Skip to content

Self-hosted AI workspace.

Python

test: add fire_and_forget to API chat webhook stub (#4383)

Alexandre Teixeira17df97779410
diff --git a/tests/test_api_chat_security.py b/tests/test_api_chat_security.py
index 3b94bd556..7dcec324e 100644
--- a/tests/test_api_chat_security.py
+++ b/tests/test_api_chat_security.py
@@ -219,6 +219,9 @@ class _WebhookManager:
async def fire(self, event, payload):
return None
+ def fire_and_forget(self, event, payload):
+ return None
+
def _install_sync_chat_stubs(monkeypatch):
# FastAPI checks for python_multipart at import time when Form is used;