class_docstr: Test streamlit.image.
class_docstr_tok: ["Test","streamlit.image","."]
docstr: Test st.image with list of urls.
docstr_tok: ["Test","st.image","with","list","of","urls","."]
code: def test_st_image_with_list_of_urls(self):
      """Test st.image with list of urls."""
      urls = [
          "http://server/fake0.jpg",
          "http://server/fake1.png",
          "http://server/fake2.gif",
      ]
      st.image(urls, caption=["some caption"] * 3, width=300)
  
      el = self.get_delta_from_queue().new_element
      self.assertEqual(el.imgs.width, 300)
      for idx, url in enumerate(urls):
          self.assertEqual(el.imgs.imgs[idx].caption, "some caption")
          self.assertEqual(el.imgs.imgs[idx].url, url)
  
imports: import io
  import random
  from unittest import mock
  import cv2
  import numpy
  import PIL.Image
  import pytest
  from parameterized import parameterized
  from PIL import ImageDraw
  import streamlit
  import streamlit.elements.image
  from streamlit.elements.image import _np_array_to_bytes, _PIL_to_bytes
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.Image_pb2 import ImageList
  from streamlit.runtime.memory_media_file_storage import _calculate_file_id, get_extension_for_mimetype
  from streamlit.web.server.server import MEDIA_ENDPOINT
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 14 for calling the ImageProtoTest obj's underlying member method code with example usage: obj.test_st_image_with_list_of_urls() without return types