(type: str, expected: bool)
| 67 | @pytest.mark.anyio |
| 68 | @pytest.mark.parametrize(("type", "expected"), [("message", False), ("notice", True)]) |
| 69 | async def test_notice(type: str, expected: bool): |
| 70 | dependent = next(iter(NOTICE.checkers)) |
| 71 | checker = dependent.call |
| 72 | |
| 73 | assert isinstance(checker, Notice) |
| 74 | |
| 75 | event = make_fake_event(_type=type)() |
| 76 | assert await dependent(event=event) == expected |
| 77 | |
| 78 | |
| 79 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected