(bot: Bot, api: str, data: dict[str, Any])
| 84 | event = anyio.Event() |
| 85 | |
| 86 | async def calling_api_hook1(bot: Bot, api: str, data: dict[str, Any]): |
| 87 | nonlocal runned1 |
| 88 | runned1 = True |
| 89 | event.set() |
| 90 | |
| 91 | raise MockApiException(1) |
| 92 | |
| 93 | async def calling_api_hook2(bot: Bot, api: str, data: dict[str, Any]): |
| 94 | nonlocal runned2 |
nothing calls this directly
no test coverage detected