code: def test_url_join():
      assert url_join("/path/to", "file") == "/path/to/file"
      assert url_join("/path/to/", "file") == "/path/to/file"
      assert url_join("/path/to/", "/absolute/file") == "/absolute/file"
      assert (
          url_join("https://hail.is/path/to", "file")
          == "https://hail.is/path/to/file"
      )
      assert (
          url_join("https://hail.is/path/to/", "file")
          == "https://hail.is/path/to/file"
      )
      assert (
          url_join("https://hail.is/path/to/", "/absolute/file")
          == "https://hail.is/absolute/file"
      )
  
imports: from hailtop.utils import partition, url_basename, url_join, url_scheme, url_and_params, parse_docker_image_reference, grouped
  from hailtop.utils.utils import digits_needed, unzip, filter_none, flatten
label_desc: Use image node_id 7 for calling a global function with example usage: test_url_join() without return types