code: def test_verify_slot_mappings_valid(tmp_path: Path):
      domain = tmp_path / "domain.yml"
      domain.write_text(
          f"""
          version: "{LATEST_TRAINING_DATA_FORMAT_VERSION}"
          intents:
          - activate_booking
          entities:
          - city
          slots:
            location:
              type: text
              influence_conversation: false
              mappings:
              - type: from_entity
                entity: city
                conditions:
                - active_loop: booking_form
            started_booking_form:
              type: bool
              influence_conversation: false
              mappings:
              - type: from_trigger_intent
                intent: activate_booking
                value: true
          forms:
            booking_form:
              required_slots:
              - started_booking_form
              - location
              """
      )
      importer = RasaFileImporter(domain_path=domain)
      validator = Validator.from_importer(importer)
      assert 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 31 for calling a global function with example usage: test_verify_slot_mappings_valid(tmp_path) without return types