def METHOD_NAME(self):
    events = self.conn.filter_log_events(
        logGroupName=self.log_group_name,
        logStreamNames=[self.log_stream_name],
        filterPattern='{$.message = "hello"}',
    )["events"]
    assert len(events) == 6