def METHOD_NAME() -> None:
    hosts = util.create_hosts_allowlist(None, 1000)
    assert hosts == ["localhost:1000"]
    hosts = util.create_hosts_allowlist([], 1000)
    assert hosts == ["localhost:1000"]