code: def test_cyclic_intersite_links_no_warnings(self):
      settings = read_settings(
          path=None,
          override={
              "PATH": os.path.join(
                  CURRENT_DIR, "cyclic_intersite_links"
              ),
              "OUTPUT_PATH": self.temp_path,
              "CACHE_PATH": self.temp_cache,
          },
      )
      pelican = Pelican(settings=settings)
      mute(True)(pelican.run)()
      # There are four different intersite links:
      # - one pointing to the second article from first and third
      # - one pointing to the first article from second and third
      # - one pointing to the third article from first and second
      # - one pointing to a nonexistent from each
      # If everything goes well, only the warning about the nonexistent
      # article should be printed. Only two articles are not sufficient,
      # since the first will always have _context['generated_content'] empty
      # (thus skipping the link resolving) and the second will always have it
      # non-empty, containing the first, thus always succeeding.
      self.assertLogCountEqual(
          count=1,
          msg="Unable to find '.*\\.rst', skipping url replacement.",
          level=logging.WARNING,
      )
  
imports: import locale
  import logging
  import os
  import subprocess
  import sys
  import unittest
  from collections.abc import Sequence
  from shutil import rmtree
  from tempfile import mkdtemp
  from pelican import Pelican
  from pelican.generators import StaticGenerator
  from pelican.settings import read_settings
  from pelican.tests.support import LoggedTestCase, diff_subproc, locale_available, mute, skipIfNoExecutable
label_desc: Use image node_id 10 for calling the TestPelican obj's underlying member method code with example usage: obj.test_cyclic_intersite_links_no_warnings() without return types