def METHOD_NAME() -> None:
    assert ensure_str_list(("hello", "there")) == ["hello", "there"]
    assert ensure_str_list("hello", allow_single_str=True) == ["hello"]
    with pytest.raises(ValueError):
        ensure_str_list("hello")
    with pytest.raises(ValueError):
        ensure_str_list(0)  # type: ignore[arg-type]
    with pytest.raises(ValueError):
        ensure_str_list([0, 1])  # type: ignore[list-item]