(_chat_service, username: str, post_data: dict)
| 216 | ) |
| 217 | |
| 218 | async def fake_chat_response(_chat_service, username: str, post_data: dict): |
| 219 | return ok( |
| 220 | { |
| 221 | "session_id": post_data.get("session_id"), |
| 222 | "creator": username, |
| 223 | } |
| 224 | ) |
| 225 | |
| 226 | monkeypatch = pytest.MonkeyPatch() |
| 227 | monkeypatch.setattr( |