code: def test_verify_slot_mappings_mapping_active_loop_not_in_forms(
      tmp_path: Path,
  ):
      domain = tmp_path / "domain.yml"
      slot_name = "some_slot"
      domain.write_text(
          f"""
          version: "{LATEST_TRAINING_DATA_FORMAT_VERSION}"
          entities:
          - some_entity
          slots:
            {slot_name}:
              type: text
              influence_conversation: false
              mappings:
              - type: from_entity
                entity: some_entity
                conditions:
                - active_loop: som_form
          forms:
            some_form:
              required_slots:
                - {slot_name}
          """
      )
      importer = RasaFileImporter(domain_path=domain)
      validator = Validator.from_importer(importer)
      with pytest.warns(
          UserWarning,
          match=r"Slot 'some_slot' has a mapping condition "
          r"for form 'som_form' which is not listed "
          r"in domain forms.*",
      ):
          assert not validator.verify_slot_mappings()
  
imports: import textwrap
  import warnings
  from typing import Text
  import pytest
  from _pytest.logging import LogCaptureFixture
  from rasa.shared.constants import LATEST_TRAINING_DATA_FORMAT_VERSION
  from rasa.validator import Validator
  from rasa.shared.importers.rasa import RasaFileImporter
  from pathlib import Path
label_desc: Use image node_id 29 for calling a global function with example usage: test_verify_slot_mappings_mapping_active_loop_not_in_forms(tmp_path) without return types