code: def test_create_hosts_allowlist_host_without_port_use_port_80() -> (
      None
  ):
      hosts = util.create_hosts_allowlist(["foo"], 1000)
      assert hosts == ["foo:80"]
  
      hosts = util.create_hosts_allowlist(["foo", "bar"], 1000)
      assert hosts == ["foo:80", "bar:80"]
  
file_path: bokeh/tests/unit/bokeh/server/test_util.py
imports: from __future__ import annotations
  import pytest
  import socket
  import bokeh.server.util
label_desc: Use image node_id 9 for calling a global function with example usage: test_create_hosts_allowlist_host_without_port_use_port_80() without return types