Function
test_postprocessor
(
bot: Bot,
event: Event,
state: T_State,
sub: int = Depends(_dependency),
default: int = 1,
)
Source from the content-addressed store, hash-verified
| 140 | |
| 141 | @event_postprocessor |
| 142 | async def test_postprocessor( |
| 143 | bot: Bot, |
| 144 | event: Event, |
| 145 | state: T_State, |
| 146 | sub: int = Depends(_dependency), |
| 147 | default: int = 1, |
| 148 | ): |
| 149 | nonlocal runned |
| 150 | runned = True |
| 151 | |
| 152 | assert test_postprocessor in { |
| 153 | dependent.call for dependent in message._event_postprocessors |
Callers
nothing calls this directly
Tested by
no test coverage detected