mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-17 10:15:27 -04:00
test: add fire_and_forget to API chat webhook stub
This commit is contained in:
@@ -219,6 +219,9 @@ class _WebhookManager:
|
|||||||
async def fire(self, event, payload):
|
async def fire(self, event, payload):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
def fire_and_forget(self, event, payload):
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
def _install_sync_chat_stubs(monkeypatch):
|
def _install_sync_chat_stubs(monkeypatch):
|
||||||
# FastAPI checks for python_multipart at import time when Form is used;
|
# FastAPI checks for python_multipart at import time when Form is used;
|
||||||
|
|||||||
Reference in New Issue
Block a user