def METHOD_NAME(self, event, raw_event, event_send, timeout):
    raw_event.side_effect = 110 * ([event],)
    try:
        with timeout():
            script.start("cmd", onchange=True, interval=0.01)
    except StopIteration:
        log.warning("Timeout failure")
    event_send.assert_called_once_with(tag=event["tag"], data=event["data"])