def METHOD_NAME(click_runner):
    start_date = date.today().toordinal()
    random_past_day = date.fromordinal(random.randint(start_date, start_date))
    command_input = f'{random_past_day.strftime("%Y/%m/%d")}\n'
    result = click_runner.invoke(prepare_dispatch, input=command_input)
    assert isinstance(result.exception, ValueError)
    assert "PREVIOUS EVENTS" not in result.output