def test_not_discard_event(self, event): assert sansio.discard_event(event, "B0AAA0A01") is False
def test_not_discard_event(self, event): ev = Event.from_http(event) assert sansio.discard_event(ev, "B0AAA0A01") is False
def test_discard_event(self, event): assert sansio.discard_event(event, "B0AAA0A00") is True