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