(type: str, expected: bool)
| 93 | ("type", "expected"), [("message", False), ("meta_event", True)] |
| 94 | ) |
| 95 | async def test_metaevent(type: str, expected: bool): |
| 96 | dependent = next(iter(METAEVENT.checkers)) |
| 97 | checker = dependent.call |
| 98 | |
| 99 | assert isinstance(checker, MetaEvent) |
| 100 | |
| 101 | event = make_fake_event(_type=type)() |
| 102 | assert await dependent(event=event) == expected |
| 103 | |
| 104 | |
| 105 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected