docstr: This test is to ensure that the fetcher can handle a list of URLs that contain different content types,
  and that we have two html streams.
docstr_tok: ["This","test","is","to","ensure","that","the","fetcher","can","handle","a","list","of","URLs","that","contain","different","content","types",",","and","that","we","have","two","html","streams","."]
code: def test_link_content_fetcher_multiple_html_streams(self):
      """
      This test is to ensure that the fetcher can handle a list of URLs that contain different content types,
      and that we have two html streams.
      """
  
      fetcher = LinkContentFetcher()
      streams = fetcher.run([PDF_URL, HTML_URL, "https://google.com"])[
          "streams"
      ]
      assert len(streams) == 3
      for stream in streams:
          assert stream.meta["content_type"] in (
              "text/html",
              "application/pdf",
              "application/octet-stream",
          )
          if stream.meta["content_type"] == "text/html":
              assert "Haystack" in stream.data.decode(
                  "utf-8"
              ) or "Google" in stream.data.decode("utf-8")
          elif stream.meta["content_type"] == "application/pdf":
              assert len(stream.data) > 0
  
file_path: haystack/test/components/fetchers/test_link_content_fetcher.py
imports: from unittest.mock import patch, Mock
  import pytest
  import requests
  from haystack.components.fetchers.link_content import LinkContentFetcher, text_content_handler, binary_content_handler, DEFAULT_USER_AGENT
label_desc: Use image node_id 11 for calling the TestLinkContentFetcher obj's underlying member method code with example usage: obj.test_link_content_fetcher_multiple_html_streams() without return types